aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2015-07-09 13:41:21 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2015-07-09 13:41:21 +1000
commit067829ea5fa9a6d22d4d09fa38ffbef16d21de78 (patch)
tree2c965289f9c85e9ffc7a61af3a2819d8ae294b77 /tests
parent897a429199da12eb8b071a497ffd02538ada26b5 (diff)
downloaddtc-067829ea5fa9a6d22d4d09fa38ffbef16d21de78.tar.gz
Remove redundant fdtdump test code
The overall test runner script, for the fdtdump tests invokes the helper script fdtdump-runtest.sh. It then includes directly some code very similar to fdtdump-runtest.sh, which is never reached due to a "return". Remove the never-reached test code. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run_tests.sh15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index 49f6fd8..5268293 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -645,21 +645,6 @@ utilfdt_tests () {
fdtdump_tests () {
run_fdtdump_test fdtdump.dts
- return
-
- local dts=fdtdump.dts
- local dtb=fdtdump.dts.dtb
- local out=fdtdump.dts.out
- run_dtc_test -O dtb $dts -o ${dtb}
- $FDTDUMP ${dtb} | grep -v "//" >${out}
- if cmp $dts $out >/dev/null; then
- PASS
- else
- if [ -z "$QUIET_TEST" ]; then
- diff -w fdtdump.dts $out
- fi
- FAIL "Results differ from expected"
- fi
}
while getopts "vt:me" ARG ; do