From 8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 25 May 2015 18:47:54 +1000 Subject: 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 --- test/Makefile.check | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/Makefile.check') 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 -- cgit v1.1