Browse Source

only test examples which have a main.py

Rodja Trappe 2 năm trước cách đây
mục cha
commit
6115995bfe
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      test_startup.sh

+ 3 - 1
test_startup.sh

@@ -31,6 +31,8 @@ error=0
 check main.py || error=1
 for path in examples/*
 do
-    check $path/main.py || error=1
+    if test -f $path/main.py; then
+        check $path/main.py || error=1
+    fi
 done
 test $error -eq 0