[Crosstoolchain-logs] [device-tree-compiler] 06/58: tests: Test auto-alias generation on base tree, not overlay

Vagrant Cascadian vagrant at moszumanska.debian.org
Mon Sep 25 16:23:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

vagrant pushed a commit to branch debian/master
in repository device-tree-compiler.

commit 47b4d66a2f116208493d37f8232bb55abacd803e
Author: David Gibson <david at gibson.dropbear.id.au>
Date:   Fri Dec 9 13:46:02 2016 +1100

    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 at gibson.dropbear.id.au>
---
 tests/run_tests.sh | 10 +++++-----
 1 file 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git



More information about the Crosstoolchain-logs mailing list