Permalink
Browse files

Add support for running runtime tests on Windows. Enable building lib…

…test in Release_eglib.
  • Loading branch information...
1 parent 0db1d0e commit 0065456844b5d6fbeed11ed9ab8c212b54cda76b @joncham joncham committed Dec 28, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −0 msvc/mono.sln
  2. +6 −5 run_runtime_tests.pl
View
@@ -244,6 +244,7 @@ Global
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Debug|Win32.Build.0 = Debug|Win32
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Debug|x64.ActiveCfg = Debug|Win32
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Release_eglib|Win32.ActiveCfg = Release_eglib|Win32
+ {5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Release_eglib|Win32.Build.0 = Release_eglib|Win32
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Release_eglib|x64.ActiveCfg = Release_eglib|x64
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Release|Win32.ActiveCfg = Release|Win32
{5A435710-E6D2-4DD4-9B3F-A7239A32C6F4}.Release|Win32.Build.0 = Release|Win32
View
@@ -1,9 +1,5 @@
-#se lib ('.', "perl_lib");
use Cwd;
-#use File::Path;
-#use File::Copy::Recursive qw(dircopy);
use Getopt::Long;
-#use File::Basename;
system("source","~/.profile");
print "My Path: $ENV{PATH}\n";
@@ -20,7 +16,12 @@
if ($teamcity) {
print("##teamcity[testSuiteStarted name='mono runtime tests']\n");
}
-my $result = system("make test");
+my $result = 0;
+if($^O eq 'MSWin32') {
+ $result = system("msbuild build.proj /t:Test");
+} else {
+ $result = system("make test");
+}
if ($teamcity) {
print("##teamcity[testSuiteFinished name='mono runtime tests']\n");
}

0 comments on commit 0065456

Please sign in to comment.