Add show executor and dsl unittests

Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
This commit is contained in:
FluorineDog 2020-11-13 17:07:05 +08:00 committed by yefu.chen
parent 595d827155
commit ff843689ee

View File

@ -25,13 +25,20 @@ for UNITTEST_DIR in "${UNITTEST_DIRS[@]}"; do
echo "The unittest folder does not exist!"
exit 1
fi
for test in `ls ${UNITTEST_DIR}`; do
echo $test " running..."
# run unittest
${UNITTEST_DIR}/${test}
if [ $? -ne 0 ]; then
echo ${UNITTEST_DIR}/${test} "run failed"
exit 1
fi
done
${UNITTEST_DIR}/all_tests
if [ $? -ne 0 ]; then
echo ${UNITTEST_DIR}/all_tests "run failed"
exit 1
fi
#for test in `ls ${UNITTEST_DIR}`; do
# echo $test " running..."
# # run unittest
# ${UNITTEST_DIR}/${test}
# if [ $? -ne 0 ]; then
# echo ${UNITTEST_DIR}/${test} "run failed"
# exit 1
# fi
#done
done