Issue Type: Bug Bug
Assignee: Unassigned
Components: mstestrunner
Created: 13/May/13 6:36 PM
Description:

We have environments where the test projects live in a space embedded path (C:\Program Files\blah) and thus we need to quote the various arguments to MSTest such as /testcontainer: etc.

It looks as if adding double quote to any of these arguments then causes confusion and MSTest.exe itself can not be found.

Below is sample output of the error. Note in this case we had moved the tests to c:\temp\ to help isolate the cause.

Path To MSTest.exe: C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe
Result file was not found so no action has been taken. file:/c:/Slave/$civJenkinsCustomWorkspaceRoot/SIT-(POS)(StartupSmokeTests)-RunTest/%22c:/temp/TestProjects/StartupSmokeTests.trx/%22
Executing MSTest: cmd.exe /C "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" /resultsfile:\"c:\temp\TestProjects\StartupSmokeTests.trx\" /testcontainer:\"c:\temp\TestProjects\StartupSmokeTests.orderedtest\" && exit %%ERRORLEVEL%%
[SIT-(POS)(StartupSmokeTests)-RunTest] $ cmd.exe /C "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe" /resultsfile:\"c:\temp\TestProjects\StartupSmokeTests.trx\" /testcontainer:\"c:\temp\TestProjects\StartupSmokeTests.orderedtest\" && exit %%ERRORLEVEL%%
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

Project: Jenkins
Priority: Major Major
Reporter: Jeff Longino
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to