Fix test suite race on T5462 (solves intermittent T5462Yes1/T5462Yes2/T5462No1 failure)
authorEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 2 Dec 2014 11:12:14 +0000 (03:12 -0800)
committerEdward Z. Yang <ezyang@cs.stanford.edu>
Tue, 2 Dec 2014 11:12:44 +0000 (03:12 -0800)
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
testsuite/tests/generics/T5462No1.stderr
testsuite/tests/generics/all.T

index 9deb08a..9a4418a 100644 (file)
@@ -1,5 +1,5 @@
-[1 of 2] Compiling GFunctor         ( GFunctor/GFunctor.hs, GFunctor/GFunctor.o )
-[2 of 2] Compiling T5462No1         ( T5462No1.hs, T5462No1.o )
+[1 of 2] Compiling GFunctor         ( GFunctor/GFunctor.hs, T5462No1/GFunctor.o )
+[2 of 2] Compiling T5462No1         ( T5462No1.hs, T5462No1/T5462No1.o )
 
 T5462No1.hs:24:42:
     Can't make a derived instance of ‘GFunctor F’:
index 694f214..d959d0c 100644 (file)
@@ -19,9 +19,9 @@ test('GenCannotDoRep1_6', normal, compile_fail, [''])
 test('GenCannotDoRep1_7', normal, compile_fail, [''])
 test('GenCannotDoRep1_8', normal, compile_fail, [''])
 
-test('T5462Yes1', normal, multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor'])
-test('T5462Yes2', normal, multimod_compile_and_run, ['T5462Yes2', '-iGFunctor'])
-test('T5462No1', normal, multimod_compile_fail, ['T5462No1', '-iGFunctor'])
+test('T5462Yes1', normal, multimod_compile_and_run, ['T5462Yes1', '-iGEq -iGEnum -iGFunctor -outputdir=out_T5462Yes1'])
+test('T5462Yes2', normal, multimod_compile_and_run, ['T5462Yes2', '-iGFunctor -outputdir=out_T5462Yes2'])
+test('T5462No1', normal, multimod_compile_fail, ['T5462No1', '-iGFunctor -outputdir=T5462No1'])
 
 test('T5884',      normal, compile, [''])
 test('GenNewtype', normal, compile_and_run, [''])