Temporarily disable running jctf tests on all art vms

We are seeing 22 hour cycle times, which will not work on the new bots.

As discussed offline, we should instead run the compilation result on all vms in the same go.
When that is in, we can remove this again (the passing of dex vm alltogether for jctf)

Bug: 124643718, 126683699
Change-Id: Ida9f7c1bad476ebcd513240344f75bf8f01b8a9f
diff --git a/tools/test.py b/tools/test.py
index d6753ed..a7e0b98 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -253,6 +253,10 @@
 
   # Now run tests on selected runtime(s).
   vms_to_test = [options.dex_vm] if options.dex_vm != "all" else ALL_ART_VMS
+  # TODO(126683699): remove once we have single run
+  if options.dex_vm == 'all' and options.only_jctf:
+    vms_to_test = ["default",  "5.1.1"]
+
   for art_vm in vms_to_test:
     vm_kind_to_test = "_" + options.dex_vm_kind if art_vm != "default" else ""
     return_code = gradle.RunGradle(gradle_args + ['-Pdex_vm=%s' % (art_vm + vm_kind_to_test)],