From 97596a44cafefba6b03f1dca8f445078dae12ba7 Mon Sep 17 00:00:00 2001 From: Krzysztof Gogolewski Date: Sun, 12 Aug 2018 10:09:41 +0200 Subject: 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 --- testsuite/tests/concurrent/prog002/all.T | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/tests/concurrent') 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 = [] -- cgit v1.2.1