[android] improve test runner by allowing selective execution of tests
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
|
||||
public class Main {
|
||||
public native void runAllTests();
|
||||
public native void runAllTests(String[] args);
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
//Load the tests
|
||||
System.loadLibrary("mbgl-test");
|
||||
|
||||
//Run the tests
|
||||
new Main().runAllTests();
|
||||
new Main().runAllTests(args);
|
||||
|
||||
//Exit explicitly otherwise dalvikvm won't quit
|
||||
System.exit(0);
|
||||
|
||||
Reference in New Issue
Block a user