aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/GenericLayerTests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/GenericLayerTests.cpp b/test/GenericLayerTests.cpp
index 63198b4c..ccd4caa2 100644
--- a/test/GenericLayerTests.cpp
+++ b/test/GenericLayerTests.cpp
@@ -74,7 +74,7 @@ BOOST_AUTO_TEST_CASE(GetSupportedOperations)
driver->getSupportedOperations(model1, cb);
-#if defined(ARMNN_ANDROID_P)
+#if defined(ARMNN_ANDROID_P) || defined(ARMNN_ANDROID_Q)
// In Android P, android::nn::validateModel returns INVALID_ARGUMENT, because of the wrong number of inputs for the
// fully connected layer (1 instead of 4)
BOOST_TEST((int)errorStatus == (int)ErrorStatus::INVALID_ARGUMENT);