dtoc: Tidy up src_scan tests

Some of these tests don't actually check anything. Add a few more checks
to complete the tests.

Also add a simple scan test that does the basics.

Signed-off-by: Simon Glass <sjg@chromium.org>
45 jobs for dm-pull-5jan21 in 48 minutes and 16 seconds (queued for 48 seconds)
latest
Status Name Job ID Coverage
  Testsuites
passed Build envtools #197646
all

00:00:16

passed Build tools-only #197645
all

00:00:16

passed Check for configs without MAINTAINERS entry #197644
all

00:00:15

passed cppcheck #197640
all

00:00:28

passed grep TODO/FIXME/HACK #197641
all

00:00:17

passed htmldocs #197642
all

00:00:21

passed Run binman, buildman, dtoc, Kconfig and patman testsuites #197647
all

00:01:15

passed Run tests for Nokia RX-51 (aka N900) #197648
all

00:02:41

passed sloccount #197643
all

00:00:28

 
  Test.Py
passed evb-ast2500 test.py #197652
all

00:00:27

passed integratorcp_cm926ejs test.py #197656
all

00:00:32

passed qemu_arm64 test.py #197658
all

00:01:13

passed qemu_arm test.py #197657
all

00:01:06

passed qemu_malta64el test.py #197666
all

00:00:33

passed qemu_malta64 test.py #197665
all

00:00:27

passed qemu_maltael test.py #197664
all

00:00:34

passed qemu_malta test.py #197663
all

00:00:28

passed qemu_mips64el test.py #197662
all

00:00:28

passed qemu_mips64 test.py #197661
all

00:00:28

passed qemu_mipsel test.py #197660
all

00:00:35

passed qemu_mips test.py #197659
all

00:00:27

passed qemu-ppce500 test.py #197667
all

00:00:26

passed qemu-riscv32_spl test.py #197670
all

00:00:29

passed qemu-riscv32 test.py #197668
all

00:01:19

passed qemu-riscv64_spl test.py #197671
all

00:00:34

passed qemu-riscv64 test.py #197669
all

00:00:58

passed qemu-x86_64 test.py #197673
all

00:01:32

passed qemu-x86 test.py #197672
all

00:01:11

passed r2dplus_i82557c test.py #197674
all

00:00:32

passed r2dplus_pcnet test.py #197675
all

00:00:29

passed r2dplus_rtl8139 test.py #197676
all

00:00:39

passed r2dplus_tulip test.py #197677
all

00:00:28

passed sandbox_flattree test.py #197653
all

00:00:38

passed sandbox_spl test.py #197651
all

00:00:35

passed sandbox test.py #197649
all

00:01:24

passed sandbox with clang test.py #197650
all

00:03:11

passed vexpress_ca15_tc2 test.py #197654
all

00:00:34

passed vexpress_ca9x4 test.py #197655
all

00:00:28

passed xilinx_versal_virt test.py #197679
all

00:00:39

passed xilinx_zynq_virt test.py #197678
all

00:00:30

passed xtfpga test.py #197680
all

00:00:51

 
  World Build
passed build all 32bit ARM platforms #197681
all

00:32:27

passed build all 64bit ARM platforms #197682
all

00:06:03

passed build all other platforms #197684
all

00:02:50

passed build all PowerPC platforms #197683
all

00:06:56