1
0
mirror of https://github.com/pdf2htmlEX/pdf2htmlEX.git synced 2024-12-22 04:50:09 +00:00
pdf2htmlEX/buildScripts/runTests

34 lines
822 B
Plaintext
Raw Normal View History

#!/bin/sh
2020-06-03 13:54:10 +00:00
# source ./buildScripts/reSourceVersionEnvs
. ./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 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
#
./installAutomaticTestSoftwareApt
2020-06-03 13:54:10 +00:00
./runLocalTestsShell
2020-06-03 13:54:10 +00:00
./runLocalBrowserTests
cd ../..
mkdir -p imageBuild
2020-06-03 13:54:10 +00:00
zip -r imageBuild/$TEST_RESULTS_NAME /tmp/pdf2htmlEX/html /tmp/pdf2htmlEX/png