Enable xUnit unit test coverage results in XML

This commit is contained in:
Andrew Schwartzmeyer
2015-07-21 11:18:15 -07:00
parent 5a596e8029
commit b020c4b41f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,3 +5,4 @@ Makefile
!scripts/Makefile
cmake_install.cmake
externals
scripts/xunittests.xml
+1 -1
View File
@@ -182,7 +182,7 @@ pester-tests: $(POWERSHELL_RUN_TARGETS) dotnetlibs/corerun dotnetlibs/Microsoft.
cd exec_env/app_base && PSMODULEPATH=$(shell pwd)/exec_env/app_base/Modules LD_LIBRARY_PATH=. ./corerun powershell-simple.exe 'cd ../../../src/pester-tests; $$env:TEMP="/tmp"; invoke-pester'
test: $(RUN_TARGETS) internal-prepare-exec_env $(addprefix $(TESTRUN_FOLDER)/, ps_test.dll xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll) dotnetlibs/corerun pester-tests
cd exec_env/testrun && PSMODULEPATH=$(shell pwd)/exec_env/app_base/Modules LD_LIBRARY_PATH=../app_base ../app_base/corerun xunit.console.netcore.exe ps_test.dll
cd exec_env/testrun && PSMODULEPATH=$(shell pwd)/exec_env/app_base/Modules LD_LIBRARY_PATH=../app_base ../app_base/corerun xunit.console.netcore.exe ps_test.dll -xml ../../xunittests.xml
# this is an internal target, it's not intended to be called manually
internal-prepare-debugclr: