From 80afb186dff8e0669eea81ef6ba389704bf579ea Mon Sep 17 00:00:00 2001 From: Xusong Wang Date: Wed, 23 Oct 2019 10:53:53 -0700 Subject: Temporarily disable UnspecifiedDimensionsTest. Bug: 143173918 Test: NNT_static Change-Id: I837d967d6da4bea298b29e692a572be45ea11252 Merged-In: I837d967d6da4bea298b29e692a572be45ea11252 (cherry picked from commit 646f43e02b078475dbe6ed20612281d4b37db2cb) --- nn/runtime/test/Android.bp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nn/runtime/test/Android.bp b/nn/runtime/test/Android.bp index 608172e58..35f12293b 100644 --- a/nn/runtime/test/Android.bp +++ b/nn/runtime/test/Android.bp @@ -65,7 +65,8 @@ cc_defaults { "TestOperandExtraParams.cpp", "TestTrivialModel.cpp", "TestUnknownDimensions.cpp", - "TestUnspecifiedDimensions.cpp", + // TODO(xusongw): Re-enable once b/141294076 is fixed. + // "TestUnspecifiedDimensions.cpp", "TestValidateModel.cpp", "TestValidateOperations.cpp", "TestValidation.cpp", -- cgit v1.2.3 From bf67091248273133d0f65d24e19bd7caa56d823c Mon Sep 17 00:00:00 2001 From: Xusong Wang Date: Thu, 26 Sep 2019 13:35:18 -0700 Subject: Increase cts test tolerance from 2 to 3 for mobilenets. Bug: 141706489 Test: NNT_static --gtest_filter=*mobilenet* Change-Id: I77bc5b7c24935c78bf484d5408134afc1c0c6ebc Merged-In: I77bc5b7c24935c78bf484d5408134afc1c0c6ebc (cherry picked from commit 59ad42f7a616db6e3d2967020645608dda437ad9) --- nn/tools/test_generator/test_harness/TestHarness.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nn/tools/test_generator/test_harness/TestHarness.cpp b/nn/tools/test_generator/test_harness/TestHarness.cpp index 7def61195..7bdb2dc20 100644 --- a/nn/tools/test_generator/test_harness/TestHarness.cpp +++ b/nn/tools/test_generator/test_harness/TestHarness.cpp @@ -46,7 +46,7 @@ int getQuant8AllowedError() { if (testName.find("mobilenet") != std::string::npos || (testCaseName.find("CompilationCaching") != std::string::npos && testName.find("TOCTOU") == std::string::npos)) { - return 2; + return 3; } else { return 1; } -- cgit v1.2.3