From e8e7a1018cb9f05a0e31d3facdf5fcf736dbc38f Mon Sep 17 00:00:00 2001 From: Michael Butler Date: Wed, 1 Jun 2022 14:53:15 -0700 Subject: [PATCH] Disable TEST_MAPPING for VtsHalNeuralnetworksV1_*TargetTest A sibling change removes the NN HIDL sample drivers from cuttlefish. In response, this change removes the VtsHalNeuralnetworksV1_*TargetTest tests from the TEST_MAPPING because they do not test anything without the NN HIDL sample drivers present. Note that the NN AIDL sample drivers and NN AIDL VTS test (VtsHalNeuralnetworksTargetTest) are still present. Bug: 233665601 Test: mma Test: croot && cd hardware/interfaces/neuralnetworks && atest Change-Id: I90bccd843ba9296c27d3010cec652be55a13a225 --- neuralnetworks/1.0/vts/functional/Android.bp | 1 - neuralnetworks/1.1/vts/functional/Android.bp | 1 - neuralnetworks/1.2/vts/functional/Android.bp | 1 - neuralnetworks/1.3/vts/functional/Android.bp | 1 - neuralnetworks/TEST_MAPPING | 44 -------------------- 5 files changed, 48 deletions(-) diff --git a/neuralnetworks/1.0/vts/functional/Android.bp b/neuralnetworks/1.0/vts/functional/Android.bp index 29b31d254e..a41f37fb5b 100644 --- a/neuralnetworks/1.0/vts/functional/Android.bp +++ b/neuralnetworks/1.0/vts/functional/Android.bp @@ -90,7 +90,6 @@ cc_test { "libneuralnetworks_headers", ], test_suites: [ - "general-tests", "vts", ], } diff --git a/neuralnetworks/1.1/vts/functional/Android.bp b/neuralnetworks/1.1/vts/functional/Android.bp index e9d4b76221..7c1c118c07 100644 --- a/neuralnetworks/1.1/vts/functional/Android.bp +++ b/neuralnetworks/1.1/vts/functional/Android.bp @@ -58,7 +58,6 @@ cc_test { "libneuralnetworks_headers", ], test_suites: [ - "general-tests", "vts", ], } diff --git a/neuralnetworks/1.2/vts/functional/Android.bp b/neuralnetworks/1.2/vts/functional/Android.bp index 2177924d30..7e4b5bbab1 100644 --- a/neuralnetworks/1.2/vts/functional/Android.bp +++ b/neuralnetworks/1.2/vts/functional/Android.bp @@ -85,7 +85,6 @@ cc_test { "libneuralnetworks_headers", ], test_suites: [ - "general-tests", "vts", ], } diff --git a/neuralnetworks/1.3/vts/functional/Android.bp b/neuralnetworks/1.3/vts/functional/Android.bp index 9fa0f0a174..07071cc47b 100644 --- a/neuralnetworks/1.3/vts/functional/Android.bp +++ b/neuralnetworks/1.3/vts/functional/Android.bp @@ -92,7 +92,6 @@ cc_test { "libneuralnetworks_headers", ], test_suites: [ - "general-tests", "vts", ], } diff --git a/neuralnetworks/TEST_MAPPING b/neuralnetworks/TEST_MAPPING index d29682887a..32182069f0 100644 --- a/neuralnetworks/TEST_MAPPING +++ b/neuralnetworks/TEST_MAPPING @@ -17,53 +17,9 @@ }, { "name": "neuralnetworks_utils_hal_aidl_test" - }, - { - "name": "VtsHalNeuralnetworksV1_0TargetTest", - "options": [ - { - // Do not use any sample driver except sample-all in order to reduce - // testing time. The other sample drivers (fast-float, quant, etc.) - // are subsets of sample-all. - "include-filter": "-*sample_float_fast*:*sample_float_slow*:*sample_minimal*:*sample_quant*" - } - ] - }, - { - "name": "VtsHalNeuralnetworksV1_1TargetTest", - "options": [ - { - // Do not use any sample driver except sample-all in order to reduce - // testing time. The other sample drivers (fast-float, quant, etc.) - // are subsets of sample-all. - "include-filter": "-*sample_float_fast*:*sample_float_slow*:*sample_minimal*:*sample_quant*" - } - ] } ], "presubmit-large": [ - { - "name": "VtsHalNeuralnetworksV1_2TargetTest", - "options": [ - { - // Do not use any sample driver except sample-all in order to reduce - // testing time. The other sample drivers (fast-float, quant, etc.) - // are subsets of sample-all. - "include-filter": "-*sample_float_fast*:*sample_float_slow*:*sample_minimal*:*sample_quant*" - } - ] - }, - { - "name": "VtsHalNeuralnetworksV1_3TargetTest", - "options": [ - { - // Do not use any sample driver except sample-all in order to reduce - // testing time. The other sample drivers (fast-float, quant, etc.) - // are subsets of sample-all. - "include-filter": "-*sample_float_fast*:*sample_float_slow*:*sample_minimal*:*sample_quant*" - } - ] - }, { "name": "VtsHalNeuralnetworksTargetTest", "options": [