Browse Source

Merge branch 'clear_cache_on_test_SKIP_CI' of stefan.schmidt/ID2T-toolkit into master

Carlos Garcia 6 years ago
parent
commit
08cfb18db0
1 changed files with 4 additions and 1 deletions
  1. 4 1
      build.sh

+ 4 - 1
build.sh

@@ -62,7 +62,10 @@ if [ $(uname) = 'Darwin' ]; then
 fi
 ID2T_DIR=\$(readlink -f \$0)
 SCRIPT_PATH=\${ID2T_DIR%/*}
-cd \$SCRIPT_PATH/code
+cd \$SCRIPT_PATH
+# Regenerate the statistics DB
+./id2t -i resources/test/reference_1998.pcap -r >/dev/null
+cd code
 # Execute tests
 set -e
 testpath="discover -s Test/"