Browse Source

only test examples which have a main.py

Rodja Trappe 2 years ago
parent
commit
6115995bfe
1 changed files with 3 additions and 1 deletions
  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