From f574c191b62d18ace7443853a101360ba5fd1402 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Tue, 9 Jul 2019 13:27:32 +0900 Subject: [PATCH] Move script for generate test (#5578) Move script in externals/nnapi_test_generator to generate nnapi gtest Update gitignore - remove deprecated directory Signed-off-by: Hyeongseok Oh --- .gitignore | 2 -- {externals => tests/nnapi}/nnapi_test_generator/README.md | 2 +- {externals => tests/nnapi}/nnapi_test_generator/include/TestHarness.h | 0 {externals => tests/nnapi}/nnapi_test_generator/slicing.py | 0 {externals => tests/nnapi}/nnapi_test_generator/test_generator.py | 0 .../nnapi}/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py | 0 .../nnapi/nnapi_test_generator/tests/P_conv}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_conv/stdout.txt.expect | 0 .../tests/P_depthwise_conv/depthwise_conv.bin.mod.py | 0 .../nnapi_test_generator/tests/P_depthwise_conv}/stderr.txt.expect | 0 .../nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py | 0 .../nnapi/nnapi_test_generator/tests/P_explicit}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_explicit/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_float/addfloat.mod.py | 0 .../nnapi/nnapi_test_generator/tests/P_float}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_float/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_full/addfloat.mod.py | 0 .../nnapi}/nnapi_test_generator/tests/P_full/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_full/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_lstm/lstm.mod.py | 0 .../nnapi/nnapi_test_generator/tests/P_lstm}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_lstm/stdout.txt.expect | 0 .../nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py | 0 .../nnapi_test_generator/tests/P_quantized_avgpool}/stderr.txt.expect | 0 .../nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py | 0 .../nnapi_test_generator/tests/P_quantized_conv}/stderr.txt.expect | 0 .../nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect | 0 .../nnapi/nnapi_test_generator/tests/P_vts_full}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py | 0 .../nnapi}/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py | 0 .../nnapi/nnapi_test_generator/tests/P_vts_operands}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect | 0 .../nnapi/nnapi_test_generator/tests/P_weird}/stderr.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_weird/stdout.txt.expect | 0 .../nnapi}/nnapi_test_generator/tests/P_weird/weird_add.mod.py | 0 {externals => tests/nnapi}/nnapi_test_generator/tests/test.py | 0 {externals => tests/nnapi}/nnapi_test_generator/vts_generator.py | 0 tests/nnapi/specs/generate_test.sh | 2 +- 41 files changed, 2 insertions(+), 4 deletions(-) rename {externals => tests/nnapi}/nnapi_test_generator/README.md (79%) rename {externals => tests/nnapi}/nnapi_test_generator/include/TestHarness.h (100%) rename {externals => tests/nnapi}/nnapi_test_generator/slicing.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/test_generator.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_weird => tests/nnapi/nnapi_test_generator/tests/P_conv}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_conv/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_quantized_conv => tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_quantized_avgpool => tests/nnapi/nnapi_test_generator/tests/P_explicit}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_explicit/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_float/addfloat.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_lstm => tests/nnapi/nnapi_test_generator/tests/P_float}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_float/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_full/addfloat.mod.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_full/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_full/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_lstm/lstm.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_float => tests/nnapi/nnapi_test_generator/tests/P_lstm}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_lstm/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_explicit => tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_depthwise_conv => tests/nnapi/nnapi_test_generator/tests/P_quantized_conv}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect (100%) rename {externals/nnapi_test_generator/tests/P_vts_operands => tests/nnapi/nnapi_test_generator/tests/P_vts_full}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py (100%) rename {externals/nnapi_test_generator/tests/P_vts_full => tests/nnapi/nnapi_test_generator/tests/P_vts_operands}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect (100%) rename {externals/nnapi_test_generator/tests/P_conv => tests/nnapi/nnapi_test_generator/tests/P_weird}/stderr.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_weird/stdout.txt.expect (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/P_weird/weird_add.mod.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/tests/test.py (100%) rename {externals => tests/nnapi}/nnapi_test_generator/vts_generator.py (100%) diff --git a/.gitignore b/.gitignore index 178769d..4ffabc5 100644 --- a/.gitignore +++ b/.gitignore @@ -102,8 +102,6 @@ GRTAGS # Generated tests /tests/nnapi/src/generated -/tests/runtime/neural_networks_test/generated -/runtimes/tests/neural_networks_test/generated # Coverage /gcov diff --git a/externals/nnapi_test_generator/README.md b/tests/nnapi/nnapi_test_generator/README.md similarity index 79% rename from externals/nnapi_test_generator/README.md rename to tests/nnapi/nnapi_test_generator/README.md index 37d3af0..469e467 100644 --- a/externals/nnapi_test_generator/README.md +++ b/tests/nnapi/nnapi_test_generator/README.md @@ -5,7 +5,7 @@ _nnapi test generator_ aims at generating NN public C API tests. To generate tests, run the following command. ``` -$ runtimes/tests/neural_networks_test/specs/generate_test.sh +$ tests/nnapi/specs/generate_test.sh ``` Original code is at https://android.googlesource.com/platform/frameworks/ml/+/efd22b6. diff --git a/externals/nnapi_test_generator/include/TestHarness.h b/tests/nnapi/nnapi_test_generator/include/TestHarness.h similarity index 100% rename from externals/nnapi_test_generator/include/TestHarness.h rename to tests/nnapi/nnapi_test_generator/include/TestHarness.h diff --git a/externals/nnapi_test_generator/slicing.py b/tests/nnapi/nnapi_test_generator/slicing.py similarity index 100% rename from externals/nnapi_test_generator/slicing.py rename to tests/nnapi/nnapi_test_generator/slicing.py diff --git a/externals/nnapi_test_generator/test_generator.py b/tests/nnapi/nnapi_test_generator/test_generator.py similarity index 100% rename from externals/nnapi_test_generator/test_generator.py rename to tests/nnapi/nnapi_test_generator/test_generator.py diff --git a/externals/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_conv/conv_1_h3_w2_SAME.mod.py diff --git a/externals/nnapi_test_generator/tests/P_weird/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_conv/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_weird/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_conv/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_conv/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_conv/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_conv/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_conv/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/depthwise_conv.bin.mod.py diff --git a/externals/nnapi_test_generator/tests/P_quantized_conv/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_conv/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_depthwise_conv/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_explicit/explicit_add.mod.py diff --git a/externals/nnapi_test_generator/tests/P_quantized_avgpool/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_explicit/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_avgpool/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_explicit/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_explicit/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_explicit/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_explicit/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_explicit/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_float/addfloat.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_float/addfloat.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_float/addfloat.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_float/addfloat.mod.py diff --git a/externals/nnapi_test_generator/tests/P_lstm/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_float/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_lstm/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_float/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_float/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_float/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_float/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_float/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_full/addfloat.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_full/addfloat.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_full/addfloat.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_full/addfloat.mod.py diff --git a/externals/nnapi_test_generator/tests/P_full/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_full/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_full/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_full/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_full/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_full/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_full/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_full/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_lstm/lstm.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_lstm/lstm.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_lstm/lstm.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_lstm/lstm.mod.py diff --git a/externals/nnapi_test_generator/tests/P_float/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_lstm/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_float/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_lstm/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_lstm/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_lstm/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_lstm/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_lstm/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/averpoolfloat.mod.py diff --git a/externals/nnapi_test_generator/tests/P_explicit/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_explicit/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_avgpool/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/quantized.mod.py diff --git a/externals/nnapi_test_generator/tests/P_depthwise_conv/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_depthwise_conv/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_quantized_conv/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_vts_operands/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_vts_full/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_operands/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_vts_full/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_vts_full/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_vts_full/vts_full.mod.py diff --git a/externals/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_vts_operands/addfloat.mod.py diff --git a/externals/nnapi_test_generator/tests/P_vts_full/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_vts_operands/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_full/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_vts_operands/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_vts_operands/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_conv/stderr.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_weird/stderr.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_conv/stderr.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_weird/stderr.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_weird/stdout.txt.expect b/tests/nnapi/nnapi_test_generator/tests/P_weird/stdout.txt.expect similarity index 100% rename from externals/nnapi_test_generator/tests/P_weird/stdout.txt.expect rename to tests/nnapi/nnapi_test_generator/tests/P_weird/stdout.txt.expect diff --git a/externals/nnapi_test_generator/tests/P_weird/weird_add.mod.py b/tests/nnapi/nnapi_test_generator/tests/P_weird/weird_add.mod.py similarity index 100% rename from externals/nnapi_test_generator/tests/P_weird/weird_add.mod.py rename to tests/nnapi/nnapi_test_generator/tests/P_weird/weird_add.mod.py diff --git a/externals/nnapi_test_generator/tests/test.py b/tests/nnapi/nnapi_test_generator/tests/test.py similarity index 100% rename from externals/nnapi_test_generator/tests/test.py rename to tests/nnapi/nnapi_test_generator/tests/test.py diff --git a/externals/nnapi_test_generator/vts_generator.py b/tests/nnapi/nnapi_test_generator/vts_generator.py similarity index 100% rename from externals/nnapi_test_generator/vts_generator.py rename to tests/nnapi/nnapi_test_generator/vts_generator.py diff --git a/tests/nnapi/specs/generate_test.sh b/tests/nnapi/specs/generate_test.sh index 2d7e5cc..a002d1e 100755 --- a/tests/nnapi/specs/generate_test.sh +++ b/tests/nnapi/specs/generate_test.sh @@ -47,7 +47,7 @@ function generate_one_testcase { BASENAME=${BASENAME%".mod.py"}; local EXAMPLE="-e $NNAPI_BASE/$TEST_DIR/src/generated/examples/$BASENAME.example.cpp" - $NNAPI_BASE/externals/nnapi_test_generator/test_generator.py ./`basename $1`\ + $NNAPI_BASE/$TEST_DIR/nnapi_test_generator/test_generator.py ./`basename $1`\ -m $NNAPI_BASE/$TEST_DIR/src/generated/models/$BASENAME.model.cpp $EXAMPLE ret=$? # Paste these lines into TestGenerated.cpp -- 2.7.4