aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.check
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-25 18:47:54 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-25 18:49:14 +1000
commit8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec (patch)
tree3b202f6c53627e4671601cbba5dcf545950934ff /test/Makefile.check
parent35c65cf4e97c76fae58ba3f997f9667c10c3871d (diff)
downloadskiboot-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/Makefile.check')
-rw-r--r--test/Makefile.check5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Makefile.check b/test/Makefile.check
index 6402f95..ffe4cb7 100644
--- a/test/Makefile.check
+++ b/test/Makefile.check
@@ -2,3 +2,8 @@ check: boot-check
boot-check: skiboot.lid
./test/run_boot_test.sh
+
+boot-tests: boot-check
+
+boot-coverage-report: boot-tests extract-gcov skiboot.map
+ CROSS=$(CROSS) ./test/make-boot-coverage-report.sh