Pārlūkot izejas kodu

[cs] Disable sqlite tests outside CI. Closes #3584

Cauê Waneck 10 gadi atpakaļ
vecāks
revīzija
e858b60175

+ 1 - 1
tests/RunCi.hx

@@ -516,7 +516,7 @@ class RunCi {
 				case Cs:
 					getCsDependencies();
 
-					runCommand("haxe", ["compile-cs.hxml"]);
+					runCommand("haxe", ["compile-cs-travis.hxml"]);
 					runCommand("mono", ["bin/cs/bin/Test-Debug.exe"]);
 
 					runCommand("haxe", ["compile-cs-unsafe.hxml"]);

+ 7 - 0
tests/unit/compile-cs-travis.hxml

@@ -0,0 +1,7 @@
+compile-cs.hxml
+
+-net-lib cs_drivers/System.Data.dll
+-net-lib cs_drivers/System.Xml.dll
+-net-lib cs_drivers/Mono.Data.Sqlite.dll
+
+-D travis

+ 0 - 3
tests/unit/compile-cs.hxml

@@ -7,6 +7,3 @@ compile-each.hxml
 -main unit.Test
 -cs bin/cs
 -net-lib native_cs/bin/native_cs.dll
--net-lib cs_drivers/System.Data.dll
--net-lib cs_drivers/System.Xml.dll
--net-lib cs_drivers/Mono.Data.Sqlite.dll

+ 1 - 1
tests/unit/src/unit/Test.hx

@@ -300,7 +300,7 @@ class Test #if swf_mark implements mt.Protect #end {
 			//new TestRemoting(),
 		];
 		// SPOD tests
-		#if ( (neko || php || java || cpp || cs) && !macro && !interp)
+		#if ( (neko || php || java || cpp || (cs && travis)) && !macro && !interp)
 		#if !(cpp || cs)
 		if (Sys.getEnv("CI") != null && Sys.systemName() == "Linux")
 		{