This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch uuid-datatype
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/uuid-datatype by this push:
     new 4652d849a THRIFT-5593 Implement uuid for Haxe Client: hx Patch: Jens 
Geyer
4652d849a is described below

commit 4652d849a88c5afd1ddeb305408306ed1135ea5e
Author: Jens Geyer <[email protected]>
AuthorDate: Thu Jun 9 23:17:19 2022 +0200

    THRIFT-5593 Implement uuid for Haxe
    Client: hx
    Patch: Jens Geyer
    
    Follow-up fix after https://github.com/flashultra/uuid/issues/4 has been 
fixed.
---
 lib/haxe/test/src/Main.hx          | 6 +++++-
 lib/haxe/test/src/MultiplexTest.hx | 4 +++-
 lib/haxe/test/src/StreamTest.hx    | 2 ++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/lib/haxe/test/src/Main.hx b/lib/haxe/test/src/Main.hx
index 6c262d78f..ff668aae0 100644
--- a/lib/haxe/test/src/Main.hx
+++ b/lib/haxe/test/src/Main.hx
@@ -73,9 +73,13 @@ class Main
 
             switch( tests) {
                 case Normal:
-                    StreamTest.Run(server);
+                    #if sys
+                                       StreamTest.Run(server);
+                                       #end
                 case Multiplex:
+                                       #if ! (flash || html5 || js)
                     MultiplexTest.Run(server);
+                                       #end
                 default:
                     throw "Unhandled test mode $tests";
             }
diff --git a/lib/haxe/test/src/MultiplexTest.hx 
b/lib/haxe/test/src/MultiplexTest.hx
index 3e2786db5..673437b79 100644
--- a/lib/haxe/test/src/MultiplexTest.hx
+++ b/lib/haxe/test/src/MultiplexTest.hx
@@ -19,6 +19,8 @@
 
 package;
 
+#if ! (flash || html5 || js)
+
 import haxe.Int64;
 import haxe.Int32;
 
@@ -42,7 +44,6 @@ import BenchmarkServiceImpl;
 import BenchmarkServiceProcessor;
 import Error;
 
-
 class BenchmarkServiceHandler implements BenchmarkService_service
 {
     public function new() {
@@ -221,4 +222,5 @@ class MultiplexTest extends TestBase {
 
 }
 
+#end
 
diff --git a/lib/haxe/test/src/StreamTest.hx b/lib/haxe/test/src/StreamTest.hx
index 9b8706a57..258c0a083 100644
--- a/lib/haxe/test/src/StreamTest.hx
+++ b/lib/haxe/test/src/StreamTest.hx
@@ -18,6 +18,7 @@
  */
 
 package;
+#if sys
 
 import haxe.Int64;
 import sys.FileSystem;
@@ -95,3 +96,4 @@ class StreamTest extends TestBase {
 }
 
 
+#end

Reply via email to