浏览代码

Add bulk test script

Martijn Braam 3 年之前
父节点
当前提交
bb4f351d85
共有 2 个文件被更改,包括 13 次插入1 次删除
  1. 2 1
      .gitignore
  2. 11 0
      full-test.sh

+ 2 - 1
.gitignore

@@ -3,4 +3,5 @@
 /cmake-build-debug
 /out
 /test
-/testset
+/testset
+/testresult

+ 11 - 0
full-test.sh

@@ -0,0 +1,11 @@
+#!/bin/sh
+
+BINARY="cmake-build-debug/postprocessd"
+
+rm -rf testresult
+mkdir -p testresult
+
+for shot in testset/*/ ; do
+  name="$(basename $shot)"
+  $BINARY "testset/$name" "testresult/$name" 1
+done