[commit: ghc] master: testsuite: Really fix recomp001 (3046dbb)
git at git.haskell.org
git at git.haskell.org
Wed Jan 18 22:40:09 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/3046dbb35890a680a4f36d6ae77833db9ccc12bf/ghc
>---------------------------------------------------------------
commit 3046dbb35890a680a4f36d6ae77833db9ccc12bf
Author: Ben Gamari <ben at smart-cactus.org>
Date: Wed Jan 18 15:42:00 2017 -0500
testsuite: Really fix recomp001
The fix in D2964 wasn't quite right; the sleep was in the wrong place, as
pointed out by @gracjan.
>---------------------------------------------------------------
3046dbb35890a680a4f36d6ae77833db9ccc12bf
testsuite/tests/driver/recomp001/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testsuite/tests/driver/recomp001/Makefile b/testsuite/tests/driver/recomp001/Makefile
index a592534..d99ab89 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
More information about the ghc-commits
mailing list