From 8050b104883212a7973a36cec26b327357ee505e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pi=C3=ABt=20Delport?= Date: Tue, 29 Dec 2015 21:03:51 +0200 Subject: [PATCH] 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. --- Makefile | 2 +- OpenRA.Test.nunit | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 OpenRA.Test.nunit diff --git a/Makefile b/Makefile index 5cd246be81..a743bb3c43 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ nunit: test_dll echo 'NUnit version >= 2.6 required'>&2; \ exit 1; \ fi - @$(NUNIT_CONSOLE) --noresult $(test_dll_TARGET) + @$(NUNIT_CONSOLE) --noresult OpenRA.Test.nunit test: utility mods @echo diff --git a/OpenRA.Test.nunit b/OpenRA.Test.nunit new file mode 100644 index 0000000000..b5e0fa8c9d --- /dev/null +++ b/OpenRA.Test.nunit @@ -0,0 +1,6 @@ + + + + + +