diff --git a/openmp/libompd/gdb-plugin/ompd/ompd.py b/openmp/libompd/gdb-plugin/ompd/ompd.py index a404e621e77bb..8355865408a4e 100644 --- a/openmp/libompd/gdb-plugin/ompd/ompd.py +++ b/openmp/libompd/gdb-plugin/ompd/ompd.py @@ -50,7 +50,7 @@ def invoke(self, arg, from_tty): "No ompd_dll_locations symbol in execution, make sure to have an OMPD enabled OpenMP runtime" ) - while gdb.parse_and_eval("(char**)ompd_dll_locations") == False: + while not gdb.parse_and_eval("(char**)ompd_dll_locations"): gdb.execute("tbreak ompd_dll_locations_valid") gdb.execute("continue") diff --git a/openmp/tools/archer/tests/lit.cfg b/openmp/tools/archer/tests/lit.cfg index 692cbfe97cf1e..f8fbcad752a4c 100644 --- a/openmp/tools/archer/tests/lit.cfg +++ b/openmp/tools/archer/tests/lit.cfg @@ -83,7 +83,7 @@ if config.operating_system == 'Darwin': if 'Linux' in config.operating_system: config.available_features.add("linux") -if config.has_tsan == True: +if config.has_tsan: config.available_features.add("tsan") # to run with icc INTEL_LICENSE_FILE must be set