Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndon Andonov <anandono@microsoft.com>2018-05-24 23:00:57 +0300
committerGitHub <noreply@github.com>2018-05-24 23:00:57 +0300
commite30bb915161804b0ab6a61adc37e6a5b087bf255 (patch)
tree2b637eccfee0b94c9a514d058a44716b2718fdae /tests
parent98158ab9ba18f0251f81495c6b49d5e0e6353685 (diff)
Usability improvements - Testing Documentation and scripts (#5836)
* Update testing documentation * Add repro testing instructions * Change incorrect instructions
Diffstat (limited to 'tests')
-rw-r--r--tests/CoreFX/build-and-run-test.cmd1
-rwxr-xr-xtests/CoreFX/corerun3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/CoreFX/build-and-run-test.cmd b/tests/CoreFX/build-and-run-test.cmd
index 0138a97f8..f734c05c6 100644
--- a/tests/CoreFX/build-and-run-test.cmd
+++ b/tests/CoreFX/build-and-run-test.cmd
@@ -54,6 +54,7 @@ if errorlevel 1 (
)
echo Executing %TestFileName% - writing logs to %XunitLogDir%\%TestFileName%\%CoreRT_TestLogFileName%
+echo To repro directly, run call %TestFolder%\native\%TestExecutable% %TestFolder%\%TestFileName%.dll @"%TestFolder%\%TestFileName%.rsp" -xml %XunitLogDir%\%TestFileName%\%CoreRT_TestLogFileName% -notrait category=nonnetcoreapptests -notrait category=nonwindowstests -notrait category=failing
if not exist "%TestFolder%\native\%TestExecutable%".exe (
echo ERROR:Native binary not found Unable to run test.
diff --git a/tests/CoreFX/corerun b/tests/CoreFX/corerun
index f114512d1..8ee079af6 100755
--- a/tests/CoreFX/corerun
+++ b/tests/CoreFX/corerun
@@ -53,7 +53,8 @@ if [ ! -d "${LogDir}/${TestFileName}" ]; then
mkdir -p "${LogDir}/${TestFileName}"
fi
-echo Executing ${TestFileName} - writing logs to ${LogDir}/${TestFileName}.xml
+echo Executing ${TestFileName} - writing logs to ${LogDir}/${TestFileName}/testResults.xml
+echo To repro directly, run ${TestFolderName}/native/${TestExecutable} ${TestFolderName}/${TestFileName}.dll @${TestFolderName}/${TestFileName}.rsp -xml ${LogDir}/${TestFileName}/testResults.xml -notrait category=nonnetcoreapptests -notrait category=${OSCategory} -notrait category=failing
chmod +x ${TestFolderName}/native/${TestExecutable}
case "$(uname -s)" in