Commit 7b29abd7 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

tweaks

parent dc266faf
Pipeline #167 passed with stages
in 12 seconds
...@@ -67,14 +67,14 @@ echo "===================== importability =====================" ...@@ -67,14 +67,14 @@ echo "===================== importability ====================="
if [ "$JOB_NAME" != "csst_common" ]; then if [ "$JOB_NAME" != "csst_common" ]; then
echo " > try 'from $JOB_NAME.top_level_interface import *'" echo " > try 'from $JOB_NAME.top_level_interface import *'"
python -c "from $JOB_NAME.top_level_interface import *" python -c "from $JOB_NAME.top_level_interface import *"
import_status=$? status_import=$?
if [ "$status_import" != 0 ]; then if [ "$status_import" != 0 ]; then
echo "Import failed!" echo "Import failed!"
else else
echo "Import done!" echo "Import done!"
fi fi
else else
import_status=0 status_import=0
fi fi
# the exit value is determined from unit tests # the exit value is determined from unit tests
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment