Merge pull request #1269 from livarcocc/run_tests_using_debug_build
Run tests using debug build for the tests.
This commit is contained in:
commit
581a3a17a8
3 changed files with 3 additions and 3 deletions
|
@ -22,6 +22,6 @@ PROJECTS=$(loadTestProjectList)
|
|||
for project in $PROJECTS
|
||||
do
|
||||
#we should use publish to an output path, we will once issue #1183 has been fixed and we can point dotnet test do a dll.
|
||||
dotnet build --framework "dnxcore50" --runtime "$RID" --configuration "$CONFIGURATION" "$REPOROOT/test/$project"
|
||||
dotnet build "$REPOROOT/test/$project"
|
||||
done
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ cp -rec -Force "$RepoRoot\test\TestProjects\*" "$TestBinRoot\TestProjects"
|
|||
$TestProjects | foreach {
|
||||
# This is a workaroudn for issue #1184, where dotnet test needs to be executed from the folder containing the project.json.
|
||||
pushd "$RepoRoot\test\$($_.ProjectName)"
|
||||
dotnet test -c "$Configuration" -xml "$TestBinRoot\$($_.ProjectName)-testResults.xml" -notrait category=failing
|
||||
dotnet test -xml "$TestBinRoot\$($_.ProjectName)-testResults.xml" -notrait category=failing
|
||||
popd
|
||||
|
||||
$exitCode = $LastExitCode
|
||||
|
|
|
@ -33,7 +33,7 @@ for project in $TestProjects
|
|||
do
|
||||
# This is a workaroudn for issue #1184, where dotnet test needs to be executed from the folder containing the project.json.
|
||||
pushd "$REPOROOT/test/$project"
|
||||
dotnet test -c "$CONFIGURATION" -xml "$TEST_BIN_ROOT/${project}-testResults.xml" -notrait category=failing
|
||||
dotnet test -xml "$TEST_BIN_ROOT/${project}-testResults.xml" -notrait category=failing
|
||||
popd
|
||||
|
||||
exitCode=$?
|
||||
|
|
Loading…
Add table
Reference in a new issue