]> git.lyx.org Git - lyx.git/blobdiff - development/autotests/export-in.sh
ctests: allow excluding patterns
[lyx.git] / development / autotests / export-in.sh
index 275ee085ae34893446645ac0bb93c776044d7b67..a6f93a72062f05aa67969408401da906d3a0b3a7 100755 (executable)
@@ -1,14 +1,16 @@
 #!/bin/bash
 
 failed=0
-for format in xhtml lyx16x; do
-    for f in $LYX_ROOT/lib/doc/*lyx; do
-        if $LYX_EXE -e $format $f >> lyx-log.txt 2>&1; then
-            echo $format $f TEST_GOOD
-        else
-            echo $format $f TEST_BAD
-           failed=$[$failed+1];
-        fi;
+for libsubdir in doc examples templates; do
+    for format in xhtml lyx16x; do
+        for f in $LYX_ROOT/lib/$libsubdir/*lyx; do
+            if $LYX_EXE -e $format $f >> lyx-log.txt 2>&1; then
+                echo $format $f TEST_GOOD
+            else
+                echo $format $f TEST_BAD
+                failed=$[$failed+1];
+            fi;
+        done;
     done;
 done