[commit: testsuite] master: Make these two tests thread safe. (5b6e1d0)

git at git.haskell.org git at git.haskell.org
Sat Sep 14 22:34:58 CEST 2013


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

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

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

commit 5b6e1d0c8cb69da06e035c9aafad98c3bbf79c80
Author: Edward Z. Yang <ezyang at mit.edu>
Date:   Sat Sep 14 13:33:52 2013 -0700

    Make these two tests thread safe.
    
    Signed-off-by: Edward Z. Yang <ezyang at mit.edu>


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

5b6e1d0c8cb69da06e035c9aafad98c3bbf79c80
 tests/rts/Makefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/rts/Makefile b/tests/rts/Makefile
index 0a11a2f..0b146a1 100644
--- a/tests/rts/Makefile
+++ b/tests/rts/Makefile
@@ -49,14 +49,14 @@ T5423:
 T5435_v:
 	$(RM) T5435_c_v.o T5435_v$(exeext)
 	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 -c T5435.c -o T5435_c_v.o
-	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 T5435.hs -o T5435_v$(exeext)
+	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 T5435.hs -osuf v_o -o T5435_v$(exeext)
 	./T5435_v T5435_c_v.o
 
 .PHONY: T5435_dyn
 T5435_dyn:
 	$(RM) T5435_c_dyn.o T5435_dyn$(exeext)
 	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic -fPIC -c T5435.c -o T5435_c_dyn.o
-	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic -fPIC T5435.hs -o T5435_dyn$(exeext)
+	'$(TEST_HC)' $(TEST_HC_OPTS) -v0 -dynamic -fPIC T5435.hs -osuf dyn_o -o T5435_dyn$(exeext)
 	./T5435_dyn T5435_c_dyn.o
 
 T6006_setup :




More information about the ghc-commits mailing list