[acceptance-tests] Write list of CoreCLR tests into file and pass it to test-runner
[mono.git] / acceptance-tests / Makefile.am
index ead6212274d580b7e2c48a1bc75e2bd65e2e8fb1..235855d0638b05113ff5dca9b4f5d13475bce114 100644 (file)
@@ -69,7 +69,9 @@ coreclr-compile-tests: coreclr-validate
        $(MAKE) -j4 $(CORECLR_TESTSI_CS) $(CORECLR_TESTSI_IL)
 
 coreclr-runtest-managed: coreclr-validate test-runner.exe $(CORECLR_TESTSI_CS) $(CORECLR_TESTSI_IL)
-       @$(RUNTIME) ./test-runner.exe -j a --testsuite-name "coreclr" --expected-exit-code 100 $(CORECLR_TESTSI_CS) $(CORECLR_TESTSI_IL)
+       @echo $(CORECLR_TESTSI_CS) $(CORECLR_TESTSI_IL) | tr " " "\n" > coreclr-testlist.txt
+       $(RUNTIME) ./test-runner.exe -j a --testsuite-name "coreclr" --expected-exit-code 100 --input-file coreclr-testlist.txt
+       @rm -f coreclr-testlist.txt
 
 check-coreclr: coreclr-compile-tests coreclr-runtest-managed