Add NUnit configuration with correct binpath
This allows the tests to find and load OpenRA.Mods.Common.dll correctly under Linux / Mono. This should fix #10325.
This commit is contained in:
2
Makefile
2
Makefile
@@ -243,7 +243,7 @@ nunit: test_dll
|
|||||||
echo 'NUnit version >= 2.6 required'>&2; \
|
echo 'NUnit version >= 2.6 required'>&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
@$(NUNIT_CONSOLE) --noresult $(test_dll_TARGET)
|
@$(NUNIT_CONSOLE) --noresult OpenRA.Test.nunit
|
||||||
|
|
||||||
test: utility mods
|
test: utility mods
|
||||||
@echo
|
@echo
|
||||||
|
|||||||
6
OpenRA.Test.nunit
Normal file
6
OpenRA.Test.nunit
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<NUnitProject>
|
||||||
|
<Settings activeconfig="Debug"/>
|
||||||
|
<Config name="Debug" binpath="mods/common">
|
||||||
|
<assembly path="OpenRA.Test.dll"/>
|
||||||
|
</Config>
|
||||||
|
</NUnitProject>
|
||||||
Reference in New Issue
Block a user