[acceptance-tests] Write list of CoreCLR tests into file and pass it to test-runner
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 28 Oct 2015 00:21:38 +0000 (01:21 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 28 Oct 2015 13:37:14 +0000 (14:37 +0100)
This shaved about 30 seconds off the time until the test-runner started on my machine compared to
passing the tests in the command line directly (we have *lots* of CoreCLR tests).

acceptance-tests/.gitignore
acceptance-tests/Makefile.am

index f95738367938d50084684581e7a937fcb7aa0dd8..b250046de4a28991caf458738188b5ef31a6ddc6 100644 (file)
@@ -3,3 +3,4 @@ Makefile
 *.exe
 *.dll
 *.mdb
+coreclr-testlist.txt
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