diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-25 18:47:54 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-25 18:49:14 +1000 |
commit | 8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec (patch) | |
tree | 3b202f6c53627e4671601cbba5dcf545950934ff /test/hello_world | |
parent | 35c65cf4e97c76fae58ba3f997f9667c10c3871d (diff) | |
download | skiboot-8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec.zip skiboot-8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec.tar.gz skiboot-8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec.tar.bz2 |
Add boot-coverage-report target
This target will run the (two) current boot tests and produce lcov
coverage of skiboot from running them in Mambo.
Everything is pretty hard coded at this stage and should most certainly
be improved upon, especially if we want input from real hardware or to
have more boot tests.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test/hello_world')
-rw-r--r-- | test/hello_world/Makefile.check | 2 | ||||
-rw-r--r-- | test/hello_world/run_hello_world.tcl | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/hello_world/Makefile.check b/test/hello_world/Makefile.check index cfb64d9..638a627 100644 --- a/test/hello_world/Makefile.check +++ b/test/hello_world/Makefile.check @@ -2,6 +2,8 @@ HELLO_WORLD_TEST := test/hello_world/hello_kernel/hello_kernel check: $(HELLO_WORLD_TEST:%=%-check) +boot-tests: $(HELLO_WORLD_TEST:%=%-check) + $(HELLO_WORLD_TEST:%=%-check) : %-check: % skiboot.lid ./test/hello_world/run_hello_world.sh diff --git a/test/hello_world/run_hello_world.tcl b/test/hello_world/run_hello_world.tcl index e44fe16..0e2922d 100644 --- a/test/hello_world/run_hello_world.tcl +++ b/test/hello_world/run_hello_world.tcl @@ -1,4 +1,5 @@ source ../../external/mambo/skiboot.tcl mysim go -exit
\ No newline at end of file +mysim memory fwrite 0x30000000 0x300000 skiboot-hello_world.dump +exit |