Update CI scripts
Synced from ndn-tools
Change-Id: I1faf341ab032a2e5ca2a70e2c1142379581fba34
diff --git a/.jenkins.d/20-tests.sh b/.jenkins.d/20-tests.sh
index 18d1c91..fe7981d 100755
--- a/.jenkins.d/20-tests.sh
+++ b/.jenkins.d/20-tests.sh
@@ -6,6 +6,9 @@
set -x
+# Prepare environment
+rm -Rf ~/.ndn
+
BOOST_VERSION=$(python -c "import sys; sys.path.append('build/c4che'); import _cache; print(_cache.BOOST_VERSION_NUMBER);")
ut_log_args() {
@@ -32,5 +35,5 @@
ASAN_OPTIONS+=":strip_path_prefix=${PWD}/"
export ASAN_OPTIONS
-# First run all tests as unprivileged user
+# Run unit tests
./build/unit-tests $(ut_log_args)