diff --git a/polly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py b/polly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py index 1b5a38ce829b3..d7cc2b452efc6 100644 --- a/polly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py +++ b/polly/lib/External/isl/imath/tests/gmp-compat-test/genpytest.py @@ -54,7 +54,7 @@ def run_test(test, line, name, gmp_test_so, imath_test_so, *args): if childpid == 0: eq = test(line, name, gmp_test_so, imath_test_so, *args) if fork: - sys.exit(eq != True) + sys.exit(not eq) else: return eq else: