From 3d9263b5c90e05260ea19851275ff1a50dae71a6 Mon Sep 17 00:00:00 2001 From: Mehrdad Hessar Date: Wed, 15 Mar 2023 16:20:27 -0700 Subject: [PATCH 1/2] Fix build and testing --- apps/bundle_deploy/Makefile | 2 +- tests/scripts/task_microtvm_cpp_tests.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/bundle_deploy/Makefile b/apps/bundle_deploy/Makefile index b81df55852fa..bea2269d75db 100644 --- a/apps/bundle_deploy/Makefile +++ b/apps/bundle_deploy/Makefile @@ -78,7 +78,7 @@ test_dynamic: $(build_dir)/test_dynamic $(build_dir)/test_bundle.so $(build_dir) demo_static: $(build_dir)/demo_static $(build_dir)/cat.bin $(QUIET)TVM_NUM_THREADS=1 $(build_dir)/demo_static $(build_dir)/cat.bin -test_static: $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin +test_static: $(build_dir)/crt_config/crt_config.h $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin $(QUIET)TVM_NUM_THREADS=1 $(build_dir)/test_static $(build_dir)/test_data_c.bin $(build_dir)/test_output_c.bin $(build_dir)/test_graph_c.json $(build_dir)/test_params_c.bin $(build_dir)/crt_config/crt_config.h: diff --git a/tests/scripts/task_microtvm_cpp_tests.sh b/tests/scripts/task_microtvm_cpp_tests.sh index cc36963afa5b..cc8c77e72d0d 100755 --- a/tests/scripts/task_microtvm_cpp_tests.sh +++ b/tests/scripts/task_microtvm_cpp_tests.sh @@ -38,5 +38,7 @@ export OMP_NUM_THREADS=1 # Test MISRA-C runtime. It requires USE_MICRO to be enabled. pushd apps/bundle_deploy rm -rf build -make test_dynamic test_static +make test_dynamic +rm -rf build +make test_static popd From fae5a68e67cd8f4aada288e4d7e559efc69ff707 Mon Sep 17 00:00:00 2001 From: Mehrdad Hessar Date: Thu, 16 Mar 2023 11:23:26 -0700 Subject: [PATCH 2/2] add verbose Co-authored-by: driazati <9407960+driazati@users.noreply.github.com> --- tests/scripts/task_microtvm_cpp_tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/scripts/task_microtvm_cpp_tests.sh b/tests/scripts/task_microtvm_cpp_tests.sh index cc8c77e72d0d..03628c1d0d4d 100755 --- a/tests/scripts/task_microtvm_cpp_tests.sh +++ b/tests/scripts/task_microtvm_cpp_tests.sh @@ -38,7 +38,7 @@ export OMP_NUM_THREADS=1 # Test MISRA-C runtime. It requires USE_MICRO to be enabled. pushd apps/bundle_deploy rm -rf build -make test_dynamic -rm -rf build -make test_static +make test_dynamic VERBOSE=1 +make cleanall +make test_static VERBOSE=1 popd