aboutsummaryrefslogtreecommitdiff
path: root/test/Makefile.check
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-05-26 17:34:46 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-05-26 17:43:23 +1000
commitb334b39590d2cb47ca7acdfc287e4c55d4ba973c (patch)
tree7c9a7ab87e4d18df92c654763519b73d02455695 /test/Makefile.check
parent8d18e38a7c61e01b9b6ad5a70bf48697b70aa0ec (diff)
downloadskiboot-b334b39590d2cb47ca7acdfc287e4c55d4ba973c.zip
skiboot-b334b39590d2cb47ca7acdfc287e4c55d4ba973c.tar.gz
skiboot-b334b39590d2cb47ca7acdfc287e4c55d4ba973c.tar.bz2
Enable multiple boot tests based on op-build verisons
We also add a makefile to help people re-create the images. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test/Makefile.check')
-rw-r--r--test/Makefile.check14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/Makefile.check b/test/Makefile.check
index ffe4cb7..e2b960d 100644
--- a/test/Makefile.check
+++ b/test/Makefile.check
@@ -3,7 +3,19 @@ check: boot-check
boot-check: skiboot.lid
./test/run_boot_test.sh
-boot-tests: boot-check
+boot-check-op-build-v1.0:
+ SKIBOOT_MEM_DUMP=skiboot-op-build-v1.0.dump SKIBOOT_ZIMAGE=`pwd`/opal-ci/images/op-build-v1.0/zImage.epapr ./test/run_boot_test.sh
+
+boot-check-op-build-v1.1:
+ SKIBOOT_MEM_DUMP=skiboot-op-build-v1.1.dump SKIBOOT_ZIMAGE=`pwd`/opal-ci/images/op-build-v1.1/zImage.epapr ./test/run_boot_test.sh
+
+boot-check-op-build-v1.2:
+ SKIBOOT_MEM_DUMP=skiboot-op-build-v1.2.dump SKIBOOT_ZIMAGE=`pwd`/opal-ci/images/op-build-v1.2/zImage.epapr ./test/run_boot_test.sh
+
+boot-check-op-build-v1.2.1:
+ SKIBOOT_MEM_DUMP=skiboot-op-build-v1.2.1.dump SKIBOOT_ZIMAGE=`pwd`/opal-ci/images/op-build-v1.2.1/zImage.epapr ./test/run_boot_test.sh
+
+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