From d03824b0fdf67dffb17c54e45892a1265c37305e Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Wed, 27 May 2015 17:01:37 +1000 Subject: Support doing physical machine boot tests with gcov We can boot FSP machines and extract GCOV coverage report from them combining with Mambo reports Signed-off-by: Stewart Smith --- test/Makefile.check | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'test/Makefile.check') diff --git a/test/Makefile.check b/test/Makefile.check index e2b960d..5e25afa 100644 --- a/test/Makefile.check +++ b/test/Makefile.check @@ -17,5 +17,11 @@ boot-check-op-build-v1.2.1: boot-tests: boot-check boot-check-op-build-v1.0 boot-check-op-build-v1.1 boot-check-op-build-v1.2 boot-check-op-build-v1.2.1 -boot-coverage-report: boot-tests extract-gcov skiboot.map - CROSS=$(CROSS) ./test/make-boot-coverage-report.sh +boot-coverage-report: boot-tests extract-gcov skiboot.map all-boot-hardware + CROSS=$(CROSS) BOOT_TESTS="hello_world boot_test op-build-v1.0 op-build-v1.1 op-build-v1.2 op-build-v1.2.1 ${FSP_GCOV_MACHINES}" ./test/make-boot-coverage-report.sh + +boot-hardware-%: + ./external/boot-tests/boot_test.sh -v -p -t $(@:boot-hardware-%=%) -1 skiboot.lid + ./external/boot-tests/extract_gcov.sh $(@:boot-hardware-%=%) + +all-boot-hardware: $(FSP_GCOV_MACHINES:%=boot-hardware-%) \ No newline at end of file -- cgit v1.1