Mirror of DTC
Find a file
David Gibson 3ce5363387 dtc: Remove some redundant testcases
This patch removes a number of testcases from the testsuite that are
extremely unlikely to find any bugs that won't be found by the other
tests.  This speeds up the testsuite.

	- Both loops across the various tree block layouts run the
tree1_tests on the basic mangled tree.  This is completely redundant,
so remove the second copy. This removes 456 testcases.

	- We currently run tree1_tests on various trees manipulated by
move_and_save.  We replace those with just a dtbs_equal_ordered test
to check that the manipulated tree is equal to the original.  What
we're testing here is that fdt_move() operates correctly - it's very
unlikely it would succeed well enough for the ordered_equal test to
succeed, but the tree1_tests would fail on the result.  This removes
162 testcases.

	- Currently we re-ordered with mangle-layout both the basic
test_tree1.dtb and sw_tree1.test.dtb.  Since we've already checked
that these dtbs are equivalent with dtbs_ordered_equal, it's very
unlikely that the tests would fail on one but not the other.
Therefore reduce this to only using test_tree1.dtb.  This removes 828
testcases.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2007-11-26 15:19:33 -06:00
Documentation dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
libfdt libfdt: Abolish fdt_offset_ptr_typed() 2007-11-20 09:01:29 -06:00
scripts Add DTC release version information. 2007-07-07 13:52:25 -05:00
tests dtc: Remove some redundant testcases 2007-11-26 15:19:33 -06:00
.gitignore Merge libfdt into dtc. 2007-06-14 15:05:55 +10:00
checks.c dtc: Add testcases for tree checks 2007-11-20 09:03:51 -06:00
comment-test.dts Initial label support. Also switch to glr-parser mode and get rid of 2005-06-16 14:36:37 +10:00
data.c dtc: data.c doesn't need to include dtc-parser.tab.h 2007-10-22 09:54:16 -05:00
dtc-lexer.l dtc: Switch dtc to C-style literals 2007-11-08 11:14:07 -06:00
dtc-parser.y dtc: Switch dtc to C-style literals 2007-11-08 11:14:07 -06:00
dtc.c dtc: Add testcases for tree checks 2007-11-20 09:03:51 -06:00
dtc.h dtc: Move tree checking code to checks.c 2007-11-01 08:03:37 -05:00
flattree.c Quiet a bogus "May be used uninitialized" warning. 2007-10-23 10:13:00 -05:00
fstree.c dtc: Whitespace cleanup 2007-09-18 09:43:26 -05:00
ftdump.c dtc: Use libfdt/fdt.h instead of flat_dt.h 2007-09-27 08:21:18 -05:00
GPL dtc: Remove redundant copy of the GPL 2007-06-25 21:43:11 -05:00
livetree.c dtc: Move tree checking code to checks.c 2007-11-01 08:03:37 -05:00
Makefile dtc: Add missing dependencies for tests 2007-11-13 07:33:01 -06:00
Makefile.dtc dtc: Move tree checking code to checks.c 2007-11-01 08:03:37 -05:00
srcpos.c DTC: Add support for a C-like #include "file" mechanism. 2007-03-26 08:36:07 -05:00
srcpos.h dtc: move declaration of yyerror 2007-07-07 10:07:27 -05:00
TODO Update TODO 2005-10-19 16:29:52 +10:00
treesource.c dtc: -Odts produces v1 output 2007-11-12 07:46:04 -06:00