]> andersk Git - libyaml.git/blobdiff - tests/run-test-suite/test/libyaml-parser.t
Switch test-suite run list from black to whitelist
[libyaml.git] / tests / run-test-suite / test / libyaml-parser.t
index c891df95e05086b6fbb05d716efafb323bd335e0..1c3d0c4d34f4777bb6720f2cf540b85f0445c3c6 100755 (executable)
@@ -5,7 +5,7 @@ set -e
 if [[ $# -gt 0 ]]; then
   ids=("$@")
 else
-  ids=(`find data | grep '/===$' | cut -d/ -f2 | sort`)
+  ids=($(cut -d: -f1 < test/libyaml-parser.list))
 fi
 
 count=0
@@ -13,10 +13,6 @@ for id in "${ids[@]}"; do
   dir="data/$id"
   label="$id: $(< $dir/===)"
   [[ -e "$dir/in.yaml" ]] || continue
-  if grep "$id" test/libyaml-parser.skip >/dev/null; then
-    echo "ok $((++count)) # SKIP $label"
-    continue
-  fi
   ./src/libyaml-parser "$dir/in.yaml" > /tmp/test.out || {
     (
       cat "$dir/in.yaml"
This page took 0.032181 seconds and 4 git commands to generate.