From 89126dfdf28172d48733c7548fc96e9babddef89 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 15 Jun 2015 13:52:44 -0700 Subject: [PATCH] Add xunit runner target Does not yet work, see #50 --- scripts/tests.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/tests.mk b/scripts/tests.mk index e7d8a4bd90..759331462a 100644 --- a/scripts/tests.mk +++ b/scripts/tests.mk @@ -9,3 +9,6 @@ dotnetlibs/ps_test.dll: $(TEST_SRCS) dotnetlibs/xunit.core.dll dotnetlibs/xunit. dotnetlibs/ps_test_runner.exe: $(TEST_FOLDER)/ps_test.cs dotnetlibs/ps_test.dll dotnetlibs/System.Management.Automation.dll dotnetlibs/Microsoft.PowerShell.Commands.Management.dll dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) dotnetlibs/xunit.core.dll dotnetlibs/xunit.assert.dll $(CSC) -out:$@ -noconfig -nostdlib -target:exe -r:dotnetlibs/ps_test.dll -r:dotnetlibs/System.Management.Automation.dll -r:dotnetlibs/$(ASSEMBLY_LOAD_CONTEXT_TARGET) -r:dotnetlibs/xunit.core.dll -r:dotnetlibs/xunit.assert.dll ${COREREF} $< + +xunit: $(addprefix dotnetlibs/, ps_test.dll corerun xunit.console.netcore.exe xunit.runner.utility.dll xunit.abstractions.dll xunit.execution.dll) internal-prepare-exec_env + cd exec_env/app_base && PSMODULEPATH=$(shell pwd)/exec_env/app_base/Modules LD_LIBRARY_PATH=. ./corerun xunit.console.netcore.exe ps_test.dll