Update test project in collect resource script (#8546)
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Tue, 29 Oct 2019 00:50:56 +0000 (09:50 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Tue, 29 Oct 2019 00:50:56 +0000 (09:50 +0900)
`tf2tflite_test` would be deprecated, and replaced with
`tf2tflite_integration_test`. This commit updates regarding this change
for collect resource script.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
infra/scripts/docker_collect_nnpkg_resources.sh

index 5991e7f..72fdf80 100755 (executable)
@@ -27,15 +27,15 @@ set -e
 
 pushd $ROOT_PATH > /dev/null
 
-# tf2tflite_test to generate graphdef, input, golden data
+# tf2tflite_integration_test to generate graphdef, input, golden data
 CMD="cd $NNCC_WORKSPACE && \
-     ctest -R ^tf2tflite_test$"
+     ctest -R ^tf2tflite_integration_test$"
 ./nncc docker-run bash -c "${CMD}"
 
 mkdir -p ${ARCHIVE_PATH}
 TEMP_DIR=$(mktemp -d -t resXXXX)
 rm -f ${TEMP_DIR}/*
-cp $NNCC_WORKSPACE/compiler/tf2tflite/UNIT* ${TEMP_DIR}
+cp $NNCC_WORKSPACE/compiler/tf2tflite-integration-test/UNIT* ${TEMP_DIR}
 tar -zcf ${ARCHIVE_PATH}/test-resources.tar.gz -C ${TEMP_DIR} --exclude=*.tflite ./
 rm -rf ${TEMP_DIR}