Pass /p:Platform to msbuild in runtest.cmd.
authorPat Gavlin <pagavlin@microsoft.com>
Thu, 1 Sep 2016 13:09:54 +0000 (06:09 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Thu, 1 Sep 2016 13:09:54 +0000 (06:09 -0700)
commit8cc29359f163b83633360c878b10ffadd2a2f7a5
tree560194556d8c4c15f396eaf23cbd2545fa416451
parent37d503a852215b15787bfb03edaa6835e3acf294
Pass /p:Platform to msbuild in runtest.cmd.

Otherwise, the tests will use the ambient setting of the Platform
variable, which might not match the architecture specified on the
command line. This results in the wrong build of the tests running
against the correct runtime, which e.g. causes failures in tests
with native components.

Commit migrated from https://github.com/dotnet/coreclr/commit/d33c89d5af26e7131a069e9227491a1ad7bcae50
src/coreclr/tests/runtest.cmd