From e278a0966839907807a48c99585b8bfa298b8a93 Mon Sep 17 00:00:00 2001 From: Pierre Kancir Date: Mon, 27 Aug 2018 15:29:48 +0200 Subject: [PATCH] Tools: don't use strict comparison for param fetch all to cope with TYPE one's --- Tools/autotest/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/autotest/common.py b/Tools/autotest/common.py index 3bed1e24df..3db37a1267 100644 --- a/Tools/autotest/common.py +++ b/Tools/autotest/common.py @@ -521,7 +521,7 @@ class AutoTest(ABC): # yes, exactly equal. if add_to_context: self.context_get().parameters.append((name, old_value)) - if self.should_fetch_all_for_parameter_change(name.upper()) and value == 1: + if self.should_fetch_all_for_parameter_change(name.upper()) and value != 0: self.fetch_parameters() return self.progress("Param fetch returned incorrect value (%s) vs (%s)"