summaryrefslogtreecommitdiffstats
path: root/qemu/dtc/tests/dtc-fails.sh
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/dtc/tests/dtc-fails.sh')
-rwxr-xr-xqemu/dtc/tests/dtc-fails.sh30
1 files changed, 0 insertions, 30 deletions
diff --git a/qemu/dtc/tests/dtc-fails.sh b/qemu/dtc/tests/dtc-fails.sh
deleted file mode 100755
index 4ddcb2732..000000000
--- a/qemu/dtc/tests/dtc-fails.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#! /bin/sh
-
-. ./tests.sh
-
-if [ "$1" = "-n" ]; then
- NEG="$1"
- shift
-fi
-
-OUTPUT="$1"
-shift
-
-verbose_run $VALGRIND "$DTC" -o "$OUTPUT" "$@"
-ret="$?"
-
-FAIL_IF_SIGNAL $ret
-
-if [ -n "$NEG" ]; then
- if [ ! -e "$OUTPUT" ]; then
- FAIL "Produced no output"
- fi
-else
- if [ -e "$OUTPUT" ]; then
- FAIL "Incorrectly produced output"
- fi
-fi
-
-rm -f "$OUTPUT"
-
-PASS