- You can use * in list.
- nnpkg_test list is updated.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
PKG_LIST=$(cat tools/nnpackage_tool/nnpkg_test/list)
for f in ${PKG_LIST}
do
- if [ -e "nnpkg-tcs/$f" ]; then
- tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh -d -i nnpkg-tcs $f
- fi
+ for entry in "nnpkg-tcs"/$f; do
+ if [ -e $entry ]; then
+ tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh -d -i nnpkg-tcs $(basename "$entry")
+ fi
+ done
EXITCODE_F=$?
if [ ${EXITCODE_F} -ne 0 ]; then
-UNIT_Add_000
-UNIT_Add_001
-UNIT_Add_002
-UNIT_Add_004
-UNIT_Add_005
-UNIT_AvgPool_000
-UNIT_AvgPool_001
-UNIT_BiasAdd_000
-UNIT_BiasAdd_001
-UNIT_BiasAdd_002
-UNIT_ConcatV2_000
-UNIT_ConcatV2_001
-UNIT_ConcatV2_002
+UNIT_Add_*
+UNIT_AvgPool_*
+UNIT_BiasAdd_*
+UNIT_ConcatV2_*
UNIT_Conv2D_000
UNIT_Conv2DBackpropInput_000
UNIT_Conv2DBackpropInput_001
-UNIT_DepthwiseConv2dNative_000
-UNIT_DepthwiseConv2dNative_001
-UNIT_MaxPool_000
-UNIT_MaxPool_001
-UNIT_Mean_000
-UNIT_Mean_001
-UNIT_Mean_002
-UNIT_Mean_003
-UNIT_Mul_000
-UNIT_Mul_001
-UNIT_Mul_002
+UNIT_DepthwiseConv2dNative_*
+UNIT_MaxPool_*
+UNIT_Mean_*
+UNIT_Mul_*
UNIT_Pad_000
-UNIT_RealDiv_000
-UNIT_RealDiv_001
+UNIT_RealDiv_*
UNIT_Relu_000
UNIT_Relu6_000
UNIT_Reshape_000
UNIT_Rsqrt_000
UNIT_Softmax_001
UNIT_Sqrt_000
-UNIT_Squeeze_000
-UNIT_Squeeze_001
-UNIT_Squeeze_002
-UNIT_Squeeze_003
-UNIT_Sub_000
-UNIT_Sub_001
+UNIT_Squeeze_*
+UNIT_Sub_*
UNIT_Tanh_000