diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2018-09-05 13:45:50 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krz.gogolewski@gmail.com> | 2018-09-05 13:45:51 +0200 |
commit | ecde9546e7768a57bb57d742c8ef3b7cf7fde80e (patch) | |
tree | 5a94cef0ae165626a02676c85239ffe1bea805fe /testsuite/driver/testglobals.py | |
parent | a811d938acb09b23b11173842143a0fa946bf5cc (diff) | |
download | haskell-ecde9546e7768a57bb57d742c8ef3b7cf7fde80e.tar.gz |
testsuite: Use bools for booleans, not ints
Summary: Just as it says on the tin.
Test Plan: Validate
Reviewers: bgamari, osa1
Reviewed By: osa1
Subscribers: osa1, monoidal, rwbarton, thomie, carter
Differential Revision: https://phabricator.haskell.org/D5010
Diffstat (limited to 'testsuite/driver/testglobals.py')
-rw-r--r-- | testsuite/driver/testglobals.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuite/driver/testglobals.py b/testsuite/driver/testglobals.py index 067b7d4afc..311e39be7f 100644 --- a/testsuite/driver/testglobals.py +++ b/testsuite/driver/testglobals.py @@ -27,9 +27,9 @@ class TestConfig: self.only = set() # Accept new output which differs from the sample? - self.accept = 0 - self.accept_platform = 0 - self.accept_os = 0 + self.accept = False + self.accept_platform = False + self.accept_os = False # File in which to save the summary self.summary_file = '' @@ -117,7 +117,7 @@ class TestConfig: # threads self.threads = 1 - self.use_threads = 0 + self.use_threads = False # Should we skip performance tests self.skip_perf_tests = False @@ -168,7 +168,7 @@ def getTestRun(): class TestOptions: def __init__(self): # skip this test? - self.skip = 0 + self.skip = False # skip these ways self.omit_ways = [] @@ -193,7 +193,7 @@ class TestOptions: self.ignore_stderr = False # Backpack test - self.compile_backpack = 0 + self.compile_backpack = False # We sometimes want to modify the compiler_always_flags, so # they are copied from config.compiler_always_flags when we @@ -230,15 +230,15 @@ class TestOptions: self.alone = False # Does this test use a literate (.lhs) file? - self.literate = 0 + self.literate = False # Does this test use a .c, .m or .mm file? - self.c_src = 0 - self.objc_src = 0 - self.objcpp_src = 0 + self.c_src = False + self.objc_src = False + self.objcpp_src = False # Does this test use a .cmm file? - self.cmm_src = 0 + self.cmm_src = False # Should we put .hi/.o files in a subdirectory? self.outputdir = None |