diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-09-21 03:26:13 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-09-21 03:26:13 +0000 |
commit | 3b1689612bb2ff984aa90cd84093ffc043d78ba9 (patch) | |
tree | 872cf423273a331e110ff3868cd5281c960dd3b1 /test/system/run_java_test | |
parent | 69d8f8da6bbb856964d47a583ceb4e50060e9457 (diff) |
considerable bindings interface work, some improvements to build
Diffstat (limited to 'test/system/run_java_test')
-rwxr-xr-x | test/system/run_java_test | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/system/run_java_test b/test/system/run_java_test new file mode 100755 index 000000000..205d869f2 --- /dev/null +++ b/test/system/run_java_test @@ -0,0 +1,14 @@ +#!/bin/bash +# +# run_java_test +# Morgan Deters, September 2011 +# +# The purpose of this script is to change an automake test command +# line into something that a JVM likes. In particular, any dir/Foo.class +# listed on the command line is stripped of its dir/ and its .class extension. +# Works only for tests in the default package. +# +args=("$@") +args[$((${#args}))]="$(echo "${args[${#args}]}" | sed 's,\(.*\/\)\?\(.*\)\.class$,\2,')" +echo "${args[@]}" +exec "${args[@]}" |