Revert^2 "Convert per-test run scripts to python."

This reverts commit 8d6a4e021e1dc4717939e05aee89c9b18e383d12.

Reason for revert: Reland

Test: test.py -r --all-target
Test: diff emitted test commands before and after
Change-Id: I8b99d9b3804615f2ebc50171a4368ad87d809300
diff --git a/test/1974-resize-array/run b/test/1974-resize-array/run
index 96646c8..4f5f922 100755
--- a/test/1974-resize-array/run
+++ b/test/1974-resize-array/run
@@ -15,4 +15,5 @@
 # limitations under the License.
 
 
-./default-run "$@" --jvmti
+def run(ctx, args):
+  ctx.default_run(args, jvmti=True)