diff options
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/tools/make_expected.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/tools/make_expected.sh b/testing/tools/make_expected.sh index 9b7e3d8716..d4d219ae99 100755 --- a/testing/tools/make_expected.sh +++ b/testing/tools/make_expected.sh @@ -19,11 +19,11 @@ while (( "$#" )); do INFILE="$1" echo $INFILE | grep -qs ' ' && echo space in filename detected && exit 1 EVTFILE="${INFILE%.*}.evt" + SEND_EVENTS= if [ -f "$EVTFILE" ]; then - out/Debug/pdfium_test --send-events --time=$TEST_SEED_TIME --png $INFILE - else - out/Debug/pdfium_test --time=$TEST_SEED_TIME --png $INFILE + SEND_EVENTS="--send-events" fi + out/Debug/pdfium_test "$SEND_EVENTS" --time=$TEST_SEED_TIME --png $INFILE RESULTS="$INFILE.*.png" for RESULT in $RESULTS ; do EXPECTED=`echo -n $RESULT | sed 's/[.]pdf[.]/_expected.pdf./'` |