瀏覽代碼

Regenerate statistics DB before running tests

Stefan Schmidt 6 年之前
父節點
當前提交
58439640a9
共有 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/"