diff --git a/Tools/autotest/test_build_options.py b/Tools/autotest/test_build_options.py index 562efd95a2..f46dea1f55 100755 --- a/Tools/autotest/test_build_options.py +++ b/Tools/autotest/test_build_options.py @@ -252,7 +252,7 @@ class TestBuildOptions(object): for feature in options: self.progress("Enabling feature %s(%s) (%u/%u)" % (feature.label, feature.define, count, len(options))) - self.test_enable_feature(feature.label, options) + self.test_enable_feature(feature, options) count += 1 def get_option_by_label(self, label, options):