Browse Source

[spod] Guard the Mysql tests only to run when -D travis is defined

Cauê Waneck 10 years ago
parent
commit
2f1ba5a242
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/unit/src/unit/Test.hx

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

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