3
0
فهرست منبع

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

Carlos Garcia 6 سال پیش
والد
کامیت
08cfb18db0
1فایلهای تغییر یافته به همراه4 افزوده شده و 1 حذف شده
  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/"