Browse Source

meson: Fix cell overflow tests when running from meson

Because meson always builds out-of-tree we need to reference things in the
original source tree via $SRCDIR from run_tests.sh.  We forgot a couple of
cases for the cell overflow tests.  Fix them.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 2 years ago
parent
commit
32174a66ef
  1. 4
      tests/run_tests.sh

4
tests/run_tests.sh

@ -519,8 +519,8 @@ libfdt_tests () { @@ -519,8 +519,8 @@ libfdt_tests () {
check_tests "$SRCDIR/phandle-args-overflow.dts" clocks_property

## https://github.com/dgibson/dtc/issues/74
run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb cell-overflow-results.dts
run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb cell-overflow.dts
run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb "$SRCDIR/cell-overflow-results.dts"
run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb "$SRCDIR/cell-overflow.dts"
run_test dtbs_equal_ordered cell-overflow.test.dtb cell-overflow-results.test.dtb

# check full tests

Loading…
Cancel
Save