From 93720e05f57e9f78d197b778699d30d70095ea23 Mon Sep 17 00:00:00 2001 From: Chris Sidebottom Date: Tue, 9 Nov 2021 18:25:31 +0000 Subject: [PATCH] [CMSIS-NN] Assert correct amount of CMSIS-NN artifacts in MLF Unsure why this wasn't picked up by the other PR, assuming some race conditions - there's now 4 artifacts in the archive: * Interface in lib0 * CMSIS-NN in lib1 * Linked params in lib2 * Host code and executor in lib3 --- tests/python/driver/tvmc/test_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/driver/tvmc/test_compiler.py b/tests/python/driver/tvmc/test_compiler.py index 2ef84d7f1a6f..7dd65c507df3 100644 --- a/tests/python/driver/tvmc/test_compiler.py +++ b/tests/python/driver/tvmc/test_compiler.py @@ -416,7 +416,7 @@ def test_compile_tflite_module_with_external_codegen_cmsisnn( for name in mlf_package.getnames() if re.match(r"\./codegen/host/src/\D+\d+\.c", name) ] - assert len(c_source_files) == 3 + assert len(c_source_files) == 4 @pytest.mark.skipif(