I need a mechanism to pass additional arguments through to the test worker
Like -PEXTRA_TEST_ARGS="-Dprism.order=sw"
The split is needed to properly separate multiple space separated command line arguments.
diff -r b07a500d76ea build.gradle
--- a/build.gradle Mon May 02 10:44:07 2016 -0400
+++ b/build.gradle Mon May 02 10:46:02 2016 -0400
@@ -1298,6 +1298,10 @@
}
systemProperty 'unstable.test', IS_UNSTABLE_TEST
+
+ if (project.hasProperty("EXTRA_TEST_ARGS")) {
+ jvmArgs EXTRA_TEST_ARGS.split(' ')
+ }
}
compileTestJava {
Like -PEXTRA_TEST_ARGS="-Dprism.order=sw"
The split is needed to properly separate multiple space separated command line arguments.
diff -r b07a500d76ea build.gradle
--- a/build.gradle Mon May 02 10:44:07 2016 -0400
+++ b/build.gradle Mon May 02 10:46:02 2016 -0400
@@ -1298,6 +1298,10 @@
}
systemProperty 'unstable.test', IS_UNSTABLE_TEST
+
+ if (project.hasProperty("EXTRA_TEST_ARGS")) {
+ jvmArgs EXTRA_TEST_ARGS.split(' ')
+ }
}
compileTestJava {