summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-01-18 15:42:00 -0500
committerBen Gamari <ben@smart-cactus.org>2017-01-18 17:39:48 -0500
commit3046dbb35890a680a4f36d6ae77833db9ccc12bf (patch)
tree80decadbaf1442b5854010a5ab3b6b585a4627fe /testsuite/tests/driver
parent70472bf2d862f976790f73e9dc7a0f3f7519ae1d (diff)
downloadhaskell-3046dbb35890a680a4f36d6ae77833db9ccc12bf.tar.gz
testsuite: Really fix recomp001
The fix in D2964 wasn't quite right; the sleep was in the wrong place, as pointed out by @gracjan.
Diffstat (limited to 'testsuite/tests/driver')
-rw-r--r--testsuite/tests/driver/recomp001/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/driver/recomp001/Makefile b/testsuite/tests/driver/recomp001/Makefile
index a592534703..d99ab8966f 100644
--- a/testsuite/tests/driver/recomp001/Makefile
+++ b/testsuite/tests/driver/recomp001/Makefile
@@ -14,8 +14,8 @@ clean:
recomp001: clean
cp B1.hs B.hs
'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 C.hs
+ sleep 1
cp B2.hs B.hs
# Operating systems with poor timer resolution (e.g. Darwin) need a bit
# of time here, lest GHC not realize that the file changed.
- sleep 1
-'$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 C.hs