2020-06-03 13:54:10 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-06-06 10:39:36 +00:00
|
|
|
source ./buildScripts/reSourceVersionEnvs
|
|
|
|
|
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo "RUNNING pdf2htmlEX tests"
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
|
|
|
export TEST_RESULTS_NAME="pdf2htmlEX-$PDF2HTMLEX_BRANCH-$BUILD_TIME-$BUILD_DIST-$MACHINE_ARCH-testResults.zip"
|
|
|
|
echo "export TEST_RESULTS_NAME=\"$TEST_RESULTS_NAME\"" >> buildScripts/reSourceVersionEnvs
|
|
|
|
|
2020-06-03 13:54:10 +00:00
|
|
|
set -ev
|
|
|
|
|
|
|
|
# This bash script runs the pdf2htmlEX tests
|
|
|
|
|
|
|
|
cd pdf2htmlEX/test
|
|
|
|
|
|
|
|
# The following is only needed for the local browser tests
|
|
|
|
#
|
2020-06-06 10:39:36 +00:00
|
|
|
./installAutomaticTestSoftware
|
2020-06-03 13:54:10 +00:00
|
|
|
|
2020-06-16 15:26:19 +00:00
|
|
|
./runLocalTestsBash
|
2020-06-03 13:54:10 +00:00
|
|
|
|
2020-06-06 10:39:36 +00:00
|
|
|
./runLocalBrowserTests
|
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
mkdir -p imageBuild
|
2020-06-03 13:54:10 +00:00
|
|
|
|
2020-06-06 10:39:36 +00:00
|
|
|
zip -r imageBuild/$TEST_RESULTS_NAME /tmp/pdf2htmlEX/html /tmp/pdf2htmlEX/png
|