Răsfoiți Sursa

build(vhs): automatic tape detection

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 ani în urmă
părinte
comite
3c10a90caf
1 a modificat fișierele cu 6 adăugiri și 3 ștergeri
  1. 6 3
      tests/vhs-runner.sh

+ 6 - 3
tests/vhs-runner.sh

@@ -50,11 +50,14 @@ function gen_test -d "Generate VHS test" -a NAME
 end
 end
 
 
 function main
 function main
+    # TODO: automatic reference deletion
+    for file in $TAPES/*
 
 
-    gen_test main
-
-    run_test main
+        set filename (basename $file .tape)
 
 
+        gen_test $filename
+        run_test $filename
+    end
 end
 end
 
 
 main
 main