[commit: testsuite] master: add a sleep for systems with low-resolution file timestamps (b831fb9)

git at git.haskell.org git
Tue Oct 1 10:49:24 UTC 2013


Repository : ssh://git at git.haskell.org/testsuite

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/b831fb94517d52681954d829c9289a8eb506b5d5/testsuite

>---------------------------------------------------------------

commit b831fb94517d52681954d829c9289a8eb506b5d5
Author: Simon Marlow <marlowsd at gmail.com>
Date:   Mon Sep 23 12:17:13 2013 +0100

    add a sleep for systems with low-resolution file timestamps


>---------------------------------------------------------------

b831fb94517d52681954d829c9289a8eb506b5d5
 tests/driver/recomp013/Makefile |    1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/driver/recomp013/Makefile b/tests/driver/recomp013/Makefile
index 1b213c4..fe14fc4 100644
--- a/tests/driver/recomp013/Makefile
+++ b/tests/driver/recomp013/Makefile
@@ -19,6 +19,7 @@ recomp013: clean
 	echo 'module C where import B; a2 = 142' > C.hs
 	echo 'first run'
 	'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make C.hs
+	sleep 1
 	echo 'module B (module A) where import A hiding (a1, a2)' > B.hs
 	echo 'second run'
 	'$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --make C.hs




More information about the ghc-commits mailing list