Fix invocation of runtest.py (#1660)
authorBruce Forstall <brucefo@microsoft.com>
Mon, 13 Jan 2020 09:50:13 +0000 (01:50 -0800)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 13 Jan 2020 09:50:13 +0000 (10:50 +0100)
commit14db363c4acf2f5ce3ed81119af3ba81454c80ae
treedf26030d9d3f0947ebc6a7064622086d26b6365f
parent86fa25349e67ce3db802d658e07e09916daf2e86
Fix invocation of runtest.py (#1660)

If you pass arguments to runtest.cmd, the argument parsing "shift"
commands will lose the `%0` argument, so using `%~dp0` to find
the script location no longer works.

Use the cached script location to invoke runtest.py.
src/coreclr/tests/runtest.cmd