mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 00:39:18 +00:00
22 lines
439 B
Bash
22 lines
439 B
Bash
|
#!/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;
|
||
|
done;
|
||
|
done
|
||
|
|
||
|
if [ $failed -eq 0 ]; then
|
||
|
echo "All formats SUCCESSFUL"
|
||
|
exit 0;
|
||
|
else
|
||
|
echo "There were $failed FAILED format tests"
|
||
|
exit -1;
|
||
|
fi
|