[msvc] Add Mono_Unix_VersionString to monoposixhelper.def
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 11 Nov 2016 13:38:35 +0000 (14:38 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Sun, 13 Nov 2016 17:41:22 +0000 (18:41 +0100)
Fixes the EntryPointNotFoundException when running the Mono.Posix tests on Windows.
This check was introduced in 249ee0686bf87f33acf2efde76f3645ef06bb886 but the .def file wasn't updated.

With this the tests still crash so switching them off on PRs again for now.

msvc/monoposixhelper.def
scripts/ci/run-test-default.sh

index 611e4c7035cc49ff71830dfce29f6a8eabeb4c0f..027280d5a91a2549a63e5564db72035a76070536 100644 (file)
@@ -92,6 +92,7 @@ Mono_Posix_ToSyslogLevel
 Mono_Posix_ToSyslogOptions\r
 Mono_Posix_ToWaitOptions\r
 Mono_Posix_ToXattrFlags\r
+Mono_Unix_VersionString\r
 CreateZStream\r
 CloseZStream\r
 ReadZStream\r
index a531d8002ef29d812ce51b1748de2ac10438b465..f5381152be2e3f040954ffd7a0271c0e53ac0c8d 100755 (executable)
@@ -25,7 +25,7 @@ fi
 ${TESTCMD} --label=System.Data --timeout=5m make -w -C mcs/class/System.Data run-test
 ${TESTCMD} --label=System.Data.OracleClient --timeout=5m make -w -C mcs/class/System.Data.OracleClient run-test;
 ${TESTCMD} --label=System.Design --timeout=5m make -w -C mcs/class/System.Design run-test;
-${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test
+if [[ -n "${ghprbPullId}" ]] && [[ ${label} == w* ]]; then ${TESTCMD} --label=Mono.Posix --skip; else ${TESTCMD} --label=Mono.Posix --timeout=5m make -w -C mcs/class/Mono.Posix run-test; fi
 ${TESTCMD} --label=System.Web --timeout=30m make -w -C mcs/class/System.Web run-test
 ${TESTCMD} --label=System.Web.Services --timeout=5m make -w -C mcs/class/System.Web.Services run-test
 ${TESTCMD} --label=System.Runtime.SFS --timeout=5m make -w -C mcs/class/System.Runtime.Serialization.Formatters.Soap run-test;