aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/linux/before_install.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-30 14:07:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-08-31 06:33:46 -0700
commit908340498109ca27b7cb33977911b4c287d19233 (patch)
treeb3e499fd03a01191e1f90beb7641ee20119cf0be /scripts/linux/before_install.sh
parent78cd2f4e0927ca1790e030a993a309d97c70ecb6 (diff)
downloadsubsurface-908340498109ca27b7cb33977911b4c287d19233.tar.gz
Travis: put large test data in place for TestParsePerformance
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'scripts/linux/before_install.sh')
-rw-r--r--scripts/linux/before_install.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/linux/before_install.sh b/scripts/linux/before_install.sh
index 9f780b149..28e7bc0c5 100644
--- a/scripts/linux/before_install.sh
+++ b/scripts/linux/before_install.sh
@@ -26,3 +26,8 @@ sudo ln -s $QT_ROOT /usr/local/Qt-5.9.3
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
+# TestParsePerformance needs this data file to test XML parsing performance
+pushd ..
+git clone https://github.com/Subsurface-divelog/large-anonymous-sample-data
+xzcat large-anonymous-sample-data/large-anon.ssrf.xz > subsurface/dives/large-anon.ssrf
+popd