aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2016-12-09 13:46:02 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-12-09 16:13:14 +1100
commit47b4d66a2f116208493d37f8232bb55abacd803e (patch)
tree175b8202da48194fc12b4b91d1a2ef117315cc06 /tests
parent72e1ad81152372f444133cca3686da1cf436ebbc (diff)
downloaddtc-47b4d66a2f116208493d37f8232bb55abacd803e.tar.gz
tests: Test auto-alias generation on base tree, not overlay
The current testcases for the -A "auto alias generation" option operate on a "plugin" tree. Although not technically wrong, this is an odd approach, since a plugin will almost certainly need the __symbols__ and/or __fixups__ syntax instead of aliases. On the other hand -A may be useful simply for generating aliases on a tree which is not using the overlay / plugin mechanism at all. Therefore change the tests to operate on a base tree example instead of a plugin. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/run_tests.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/run_tests.sh b/tests/run_tests.sh
index a1baf7a..c87d7d9 100755
--- a/tests/run_tests.sh
+++ b/tests/run_tests.sh
@@ -203,11 +203,11 @@ overlay_tests () {
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_overlay_with_aliases.dtb overlay_overlay_dtc.dts
- run_test check_path overlay_overlay_with_aliases.dtb exists "/aliases"
- run_test check_path overlay_overlay_with_aliases.dtb exists "/__symbols__"
- run_test check_path overlay_overlay_with_aliases.dtb exists "/__fixups__"
- run_test check_path overlay_overlay_with_aliases.dtb exists "/__local_fixups__"
+ 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"
+ run_test check_path overlay_base_with_aliases.dtb not-exists "/__symbols__"
+ run_test check_path overlay_base_with_aliases.dtb not-exists "/__fixups__"
+ run_test check_path overlay_base_with_aliases.dtb not-exists "/__local_fixups__"
# Bad fixup tests
for test in $BAD_FIXUP_TREES; do