]> andersk Git - libyaml.git/blobdiff - tests/run-test-suite/test/libyaml-parser.t
Move tests/run-test-suite to branch run-test-suite
[libyaml.git] / tests / run-test-suite / test / libyaml-parser.t
diff --git a/tests/run-test-suite/test/libyaml-parser.t b/tests/run-test-suite/test/libyaml-parser.t
deleted file mode 100755 (executable)
index 6be2395..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-if [[ $# -gt 0 ]]; then
-  ids=("$@")
-else
-  ids=($(cut -d: -f1 < test/libyaml-parser.list))
-fi
-
-count=0
-for id in "${ids[@]}"; do
-  dir="data/$id"
-  label="$id: $(< $dir/===)"
-  [[ -e "$dir/in.yaml" ]] || continue
-  ../../tests/run-parser-test-suite "$dir/in.yaml" > /tmp/test.out || {
-    (
-      cat "$dir/in.yaml"
-      cat "$dir/test.event"
-    ) | sed 's/^/# /'
-  }
-  ok=true
-  output="$(${DIFF:-diff} -u $dir/test.event /tmp/test.out)" || ok=false
-  if $ok; then
-    echo "ok $((++count)) $label"
-  else
-    echo "not ok $((++count)) $label"
-    echo "$output" | sed 's/^/# /'
-  fi
-done
-
-echo "1..$count"
This page took 0.061635 seconds and 4 git commands to generate.