diff options
Diffstat (limited to 'test/libyaml-parser.t')
-rwxr-xr-x | test/libyaml-parser.t | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/libyaml-parser.t b/test/libyaml-parser.t deleted file mode 100755 index f615fe7..0000000 --- a/test/libyaml-parser.t +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/env bash - -set -e - -if [[ $# -gt 0 ]]; then - ids=("$@") -else - ids=($(cut -d: -f1 < list/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" |