-
Notifications
You must be signed in to change notification settings - Fork 67
Add more tests #42
Comments
Cool :) 030: 044: Threads: |
Hey, it's a little bit unclear, how exactly tests are run. It would be great, if we can run the tests on all platforms haxe supports. |
Yep I wanted do to do it. But also it would be cool to run them in parallel, since for example C++ could take much longer due to compilation times. Right now there is a test that run in JS y PHP: https://github.com/jtransc/jtransc/blob/master/jtransc-main/test/HaxeGenSuiteMiscTest.kt#L36 Though starting with 3.3.0-rc ( http://gamehaxe.com/wp-content/uploads/2016/07/Wwx2016-Hxcpp.swf with HXCPP_COMPILE_CACHE) following compilations even in other projects reuse already compiled classes ( https://www.youtube.com/watch?v=e64T96OOzKQ&index=6&list=PLyIetEt7wxr6yo_ARVaQv9UpeGbAYp_Z2 ) Haxe itself uses the travis matrix + environment variables to run cpp in parallel: https://github.com/HaxeFoundation/haxe/blob/development/.travis.yml#L88 The way testing a specific target is like this: https://github.com/jtransc/jtransc/blob/master/jtransc-main/test/HaxeGenSuiteMiscTest.kt#L38 There is a lang argument which specifies the target. The actual code instructing JTransc to compile and run it at the test level (without entering other code) can be found here: |
I'm currently porting the tests from AndroidRT to OpenJDK, but there is one test, that is problematic, because the |
Great. I think the reflection is fine, if it works :) |
We should add more tests.
I'm currently trying to setup the tests from https://github.com/robovm/robovm/tree/master/tests/dalvik, but I'll also have a look at the (original) tests from android.
I'll also have a look at https://github.com/robovm/drlvm-vts-bundle :)
(Comments for me)
The text was updated successfully, but these errors were encountered: