Browse Source

Add bulk test script

Martijn Braam 3 years ago
parent
commit
bb4f351d85
2 changed files with 13 additions and 1 deletions
  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