summaryrefslogtreecommitdiff
path: root/testsuite/tests/concurrent
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2018-08-12 10:09:41 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2018-08-12 10:09:42 +0200
commit97596a44cafefba6b03f1dca8f445078dae12ba7 (patch)
tree7d227d524652026085706a7b8565256ee9e50da3 /testsuite/tests/concurrent
parentf27d7145414eae17a211b88908965c91b0236a0f (diff)
downloadhaskell-97596a44cafefba6b03f1dca8f445078dae12ba7.tar.gz
Simplify testsuite driver, part 2
Summary: - Avoid import *; this helps tools such as pyflakes. The last occurrence in runtests.py is not easy to remove as it's used by .T files. - Use False/True instead of 0/1. Test Plan: validate Reviewers: bgamari, thomie, simonmar Reviewed By: thomie Subscribers: rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5062
Diffstat (limited to 'testsuite/tests/concurrent')
-rw-r--r--testsuite/tests/concurrent/prog002/all.T2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/concurrent/prog002/all.T b/testsuite/tests/concurrent/prog002/all.T
index 8cf3d87f90..4b330cde98 100644
--- a/testsuite/tests/concurrent/prog002/all.T
+++ b/testsuite/tests/concurrent/prog002/all.T
@@ -1,7 +1,7 @@
# Test for bug #713, results in crashes in GHC prior to 20060315 with +RTS -N2
# Add 'threaded2_hT' so that we have at least one test for bug #5127
-if (ghc_with_threaded_rts == 1 and ghc_with_smp == 1):
+if ghc_with_threaded_rts and ghc_with_smp:
ways = ['threaded2_hT']
else:
ways = []