Browse Source

tests: Remove "suppression of fixups" tests

I think these were for an additional command line option which got dropped
during development.  At this point all they're testing is that fixups don't
get generated for a non /plugin/ tree, which is already tested with one of
the simpler cases previously.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
David Gibson 8 years ago
parent
commit
66381538ce
  1. 22
      tests/overlay_base_fixups.dts
  2. 6
      tests/run_tests.sh

22
tests/overlay_base_fixups.dts

@ -1,22 +0,0 @@ @@ -1,22 +0,0 @@
/*
* Copyright (c) 2016 Konsulko Inc.
*
* SPDX-License-Identifier: GPL-2.0+
*/

/dts-v1/;

/ {
test: test-node {
test-int-property = <42>;
test-str-property = "foo";

subtest: sub-test-node {
sub-test-property;
};
};

ref {
local-ref = <&test &subtest>;
};
};

6
tests/run_tests.sh

@ -231,12 +231,6 @@ dtc_overlay_tests () { @@ -231,12 +231,6 @@ dtc_overlay_tests () {
run_test check_path overlay_overlay_with_symbols_auto.test.dtb exists "/__fixups__"
run_test check_path overlay_overlay_with_symbols_auto.test.dtb exists "/__local_fixups__"

# Test suppression of fixups
run_dtc_test -@ -I dts -O dtb -o overlay_base_with_symbols_no_fixups.test.dtb overlay_base_fixups.dts
run_test check_path overlay_base_with_symbols_no_fixups.test.dtb exists "/__symbols__"
run_test check_path overlay_base_with_symbols_no_fixups.test.dtb not-exists "/__fixups__"
run_test check_path overlay_base_with_symbols_no_fixups.test.dtb not-exists "/__local_fixups__"

# Test generation of aliases insted of symbols
run_dtc_test -A -I dts -O dtb -o overlay_base_with_aliases.dtb overlay_base.dts
run_test check_path overlay_base_with_aliases.dtb exists "/aliases"

Loading…
Cancel
Save