summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseongwoo chae <mhs4670go@naver.com>2022-07-01 15:35:25 +0900
committerGitHub <noreply@github.com>2022-07-01 15:35:25 +0900
commit43a85eccf5509c31e03f670dbcfe845bc6febcdc (patch)
tree1a94b899fb9a38feff729e8135b312b7688a5d02
parent53953be359befe61a8edea0fe3dd6d868afd20dd (diff)
downloadnnfw-43a85eccf5509c31e03f670dbcfe845bc6febcdc.tar.gz
nnfw-43a85eccf5509c31e03f670dbcfe845bc6febcdc.tar.bz2
nnfw-43a85eccf5509c31e03f670dbcfe845bc6febcdc.zip
[one-cmds] Rename wrong variables (#9374)
This commit renames wrong variables. ONE-DCO-1.0-Signed-off-by: seongwoo <mhs4670go@naver.com>
-rw-r--r--compiler/one-cmds/tests/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/one-cmds/tests/CMakeLists.txt b/compiler/one-cmds/tests/CMakeLists.txt
index 2d44282fd..74cf46486 100644
--- a/compiler/one-cmds/tests/CMakeLists.txt
+++ b/compiler/one-cmds/tests/CMakeLists.txt
@@ -3,8 +3,8 @@
# Gather test scripts
file(GLOB TESTITEMS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.test")
file(GLOB CONFIGITEMS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.cfg")
-file(GLOB CONFIGITEMS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.py")
file(GLOB QCONFIGITEMS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.qconf.json")
+file(GLOB PYSCRIPTS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "./*.py")
# Create a script to run the tests at installation folder
set(DRIVER_SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/runtestall.sh")
@@ -46,6 +46,11 @@ foreach(QCONFIGITEM IN ITEMS ${QCONFIGITEMS})
install(FILES ${QCONFIGITEM} DESTINATION test)
endforeach(QCONFIGITEM)
+foreach(PYSCRIPT IN ITEMS ${PYSCRIPTS})
+ get_filename_component(ITEM_PREFIX ${PYSCRIPT} NAME_WE)
+ install(FILES ${PYSCRIPT} DESTINATION test)
+endforeach(PYSCRIPT)
+
file(APPEND "${DRIVER_SCRIPT}" "popd > /dev/null\n\n")
file(APPEND "${DRIVER_SCRIPT}"