32174a.patch 1.3 KB

123456789101112131415161718192021222324252627282930
  1. From 32174a66efa4ad19fc6a2a6422e4af2ae4f055cb Mon Sep 17 00:00:00 2001
  2. From: David Gibson <david@gibson.dropbear.id.au>
  3. Date: Tue, 28 Feb 2023 10:33:58 +1100
  4. Subject: [PATCH] meson: Fix cell overflow tests when running from meson
  5. Because meson always builds out-of-tree we need to reference things in the
  6. original source tree via $SRCDIR from run_tests.sh. We forgot a couple of
  7. cases for the cell overflow tests. Fix them.
  8. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
  9. ---
  10. tests/run_tests.sh | 4 ++--
  11. 1 file changed, 2 insertions(+), 2 deletions(-)
  12. diff --git a/tests/run_tests.sh b/tests/run_tests.sh
  13. index 91350ad3..f899d8cb 100755
  14. --- a/tests/run_tests.sh
  15. +++ b/tests/run_tests.sh
  16. @@ -519,8 +519,8 @@ libfdt_tests () {
  17. check_tests "$SRCDIR/phandle-args-overflow.dts" clocks_property
  18. ## https://github.com/dgibson/dtc/issues/74
  19. - run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb cell-overflow-results.dts
  20. - run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb cell-overflow.dts
  21. + run_dtc_test -I dts -O dtb -o cell-overflow-results.test.dtb "$SRCDIR/cell-overflow-results.dts"
  22. + run_dtc_test -I dts -O dtb -o cell-overflow.test.dtb "$SRCDIR/cell-overflow.dts"
  23. run_test dtbs_equal_ordered cell-overflow.test.dtb cell-overflow-results.test.dtb
  24. # check full tests