Pārlūkot izejas kodu

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

Carlos Garcia 6 gadi atpakaļ
vecāks
revīzija
08cfb18db0
1 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  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/"