2020-06-20 09:11:30 +00:00
|
|
|
#!/bin/sh
|
2020-06-03 13:54:10 +00:00
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# source ./buildScripts/reSourceVersionEnvs
|
|
|
|
. ./buildScripts/reSourceVersionEnvs
|
2020-06-06 10:39:36 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# This shell script runs the pdf2htmlEX tests
|
2020-06-03 13:54:10 +00:00
|
|
|
|
|
|
|
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-20 09:11:30 +00:00
|
|
|
./runLocalTestsShell
|
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
|