فهرست منبع

updated java unit test runner (why was it removed from compilation?) and deactivated As3 again (broken)

Simon Krajewski 13 سال پیش
والد
کامیت
d8d79e2d73
2فایلهای تغییر یافته به همراه10 افزوده شده و 5 حذف شده
  1. 1 1
      tests/unit/RunJava.hx
  2. 9 4
      tests/unit/unit.hxml

+ 1 - 1
tests/unit/RunJava.hx

@@ -1,7 +1,7 @@
 class RunJava {
 
 	static function main() {
-		var p = new neko.io.Process("java",["-cp",neko.Web.getCwd()+"/java/src", "unit.Test"]);
+		var p = new neko.io.Process("java",["-jar",neko.Web.getCwd()+"/java/java.jar"]);
 		try {
 			while( true ) {
 				var c = p.stdout.readByte();

+ 9 - 4
tests/unit/unit.hxml

@@ -8,6 +8,11 @@
 -main RunCpp
 -neko runcpp.n
 
+#java-runner
+--next
+-main RunJava
+-neko runjava.n
+
 #each
 --next
 -debug
@@ -51,10 +56,10 @@ unit.Test
 -php php
 
 #as3
---next
--main unit.Test
--as3 as3
--cmd mxmlc -static-link-runtime-shared-libraries=true -debug as3/__main__.as --output unit9_as3.swf
+#--next
+#-main unit.Test
+#-as3 as3
+#-cmd mxmlc -static-link-runtime-shared-libraries=true -debug as3/__main__.as --output unit9_as3.swf
 
 #cpp
 --next