tests: skip symlinks in tests/
authorDenis Ovsienko <denis@ovsienko.info>
Mon, 12 Nov 2018 16:25:33 +0000 (16:25 +0000)
committerDenis Ovsienko <denis@ovsienko.info>
Mon, 12 Nov 2018 16:25:33 +0000 (16:25 +0000)
This removes bootstrap.php from the list and the totals.

tests/express.sh

index f6b9b7a..b5a1103 100755 (executable)
@@ -75,6 +75,7 @@ for f in wwwroot/inc/*.php plugins/*/plugin.php; do
        files=`expr $files + 1`
 done
 for f in tests/*.php; do
+       [ -h "$f" ] && continue
        testPHPSyntaxOnly "$FORMAT" "$f" || errors=`expr $errors + 1`
        files=`expr $files + 1`
 done