2015-06-12 08:29:05 -07:00
|
|
|
TEST_FOLDER=../src/ps_test
|
2015-07-30 16:57:32 +02:00
|
|
|
TESTRUN_FOLDER=exec_env/app_base
|
2015-06-12 08:29:05 -07:00
|
|
|
TEST_SRCS=$(addprefix $(TEST_FOLDER)/, test_*.cs)
|
|
|
|
|
|
2015-07-20 15:22:29 -07:00
|
|
|
$(TESTRUN_FOLDER)/xunit%: $(MONAD_EXT)/xunit/xunit%
|
2015-06-12 08:29:05 -07:00
|
|
|
cp -f $^ $@
|
|
|
|
|
|
2015-07-20 15:22:29 -07:00
|
|
|
$(TESTRUN_FOLDER)/ps_test.dll: $(TEST_SRCS) $(addprefix $(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix dotnetlibs/, System.Management.Automation.dll Microsoft.PowerShell.Commands.Management.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET))
|
|
|
|
|
$(CSC) -out:$@ -noconfig -nostdlib -target:library $(addprefix -r:$(TESTRUN_FOLDER)/, xunit.core.dll xunit.assert.dll) $(addprefix -r:dotnetlibs/, System.Management.Automation.dll $(ASSEMBLY_LOAD_CONTEXT_TARGET)) ${COREREF} $(TEST_SRCS)
|