Remove repeated test runs

We currently run all tests on the d8 bots, this changes that to only run the art tests

In addition, this changes our jctf running to be (d8 and r8) and r8cf

Change-Id: I2d57d146fcbc8f95223fc29c750f74e437e07444
diff --git a/build.gradle b/build.gradle
index a38fd63..f492319 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1597,18 +1597,17 @@
     if (project.hasProperty('tool')) {
         if (project.property('tool') == 'r8') {
             exclude "com/android/tools/r8/art/*/d8/**"
-            exclude "com/android/tools/r8/jctf/d8/**"
-            exclude "com/android/tools/r8/jctf/r8cf/**"
+            exclude "com/android/tools/r8/jctf/**"
         } else if (project.property('tool') == 'd8') {
-            exclude "com/android/tools/r8/art/*/r8/**"
-            exclude "com/android/tools/r8/jctf/r8/**"
-            exclude "com/android/tools/r8/jctf/r8cf/**"
+            if (project.hasProperty('only_jctf')) {
+                include "com/android/tools/r8/jctf/d8/**"
+            } else {
+                include "com/android/tools/r8/art/*/d8/**"
+            }
         } else {
             assert(project.property('tool') == 'r8cf')
-            exclude "com/android/tools/r8/art/*/d8/**"
-            exclude "com/android/tools/r8/art/*/r8/**"
-            exclude "com/android/tools/r8/jctf/d8/**"
-            exclude "com/android/tools/r8/jctf/r8/**"
+            assert(project.hasProperty('only_jctf'))
+            include "com/android/tools/r8/jctf/r8cf/**"
         }
     }
     if (!project.hasProperty('all_tests')) {
@@ -1617,9 +1616,6 @@
     if (!project.hasProperty('jctf') && !project.hasProperty('only_jctf')) {
         exclude "com/android/tools/r8/jctf/**"
     }
-    if (project.hasProperty('only_jctf')) {
-        include "com/android/tools/r8/jctf/**"
-    }
     if (project.hasProperty('shard_count') ) {
       assert project.hasProperty('shard_number')
       int shard_count = project.getProperty('shard_count') as Integer