Make these two tests thread safe.
authorEdward Z. Yang <ezyang@mit.edu>
Sat, 14 Sep 2013 20:33:52 +0000 (13:33 -0700)
committerEdward Z. Yang <ezyang@mit.edu>
Sat, 14 Sep 2013 20:34:48 +0000 (13:34 -0700)
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
testsuite/tests/rts/Makefile

index 0a11a2f..0b146a1 100644 (file)
@@ -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 :