Home | History | Annotate | Download | only in cts
      1 // Copyright (C) 2015 The Android Open Source Project
      2 //
      3 // Licensed under the Apache License, Version 2.0 (the "License");
      4 // you may not use this file except in compliance with the License.
      5 // You may obtain a copy of the License at
      6 //
      7 //      http://www.apache.org/licenses/LICENSE-2.0
      8 //
      9 // Unless required by applicable law or agreed to in writing, software
     10 // distributed under the License is distributed on an "AS IS" BASIS,
     11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 // See the License for the specific language governing permissions and
     13 // limitations under the License.
     14 //
     15 
     16 filegroup {
     17     name: "deqp_master_caselists",
     18     srcs: [
     19         "master/*.txt",
     20     ],
     21     path: "master",
     22 }
     23 
     24 genrule {
     25     name: "deqp_nyc_caselists",
     26     srcs: [
     27         "nyc/vk-master.txt",
     28         "nyc/gles31-master.txt",
     29         "nyc/egl-master.txt",
     30     ],
     31     out: [
     32         "nyc-vk-master.txt",
     33         "nyc-gles31-master.txt",
     34         "nyc-egl-master.txt",
     35     ],
     36     cmd: "for i in $(in); do cp $$i $(genDir)/nyc-$$(basename $$i); done",
     37 }
     38 
     39 filegroup {
     40     name: "deqp_angle_exclude_caselists",
     41     srcs: [
     42         "angle/*.txt",
     43     ],
     44     path: "angle",
     45 }
     46 
     47 java_test_host {
     48     name: "CtsDeqpTestCases",
     49 
     50     // Tag this module as a cts test artifact
     51     test_suites: [
     52         "cts",
     53         "vts",
     54         "general-tests",
     55     ],
     56 
     57     srcs: ["runner/src/**/*.java"],
     58     libs: [
     59         "cts-tradefed",
     60         "compatibility-host-util",
     61         "tradefed",
     62     ],
     63 
     64     data: [
     65         ":deqp_master_caselists",
     66         ":deqp_nyc_caselists",
     67         ":deqp_angle_exclude_caselists",
     68     ],
     69 }
     70