Check for RunTest.cmd before running test on Nano.
authorLakshmi Priya Sekar <lasekar@microsoft.com>
Mon, 11 Jul 2016 20:16:00 +0000 (13:16 -0700)
committerLakshmi Priya Sekar <lasekar@microsoft.com>
Mon, 11 Jul 2016 20:16:00 +0000 (13:16 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/285ad69b1cb2a914ccd809f29fce1d0e6ca3e0f1

src/libraries/run-test.cmd

index bd6f6e7..59b3d04 100644 (file)
@@ -9,7 +9,9 @@ pushd %1
 FOR /D %%F IN (*.Tests) DO (
        IF EXIST %%F\netcoreapp1.0 (
                pushd %%F\netcoreapp1.0
-               CALL RunTests.cmd %2
+               IF EXIST RunTests.cmd (
+                       CALL RunTests.cmd %2
+               )
                popd
        )
 )