diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2016-03-01 16:55:52 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-03-07 13:47:43 +1100 |
commit | 1325599645ff46b0c767ef23ee8a36c0c7a4d13f (patch) | |
tree | bff3af6d364dd866700efee1ef402edec26ff841 /test/hello_world | |
parent | 9a25fcc0503488c63c4443a8dde9f77e90c314a5 (diff) | |
download | blackbird-skiboot-1325599645ff46b0c767ef23ee8a36c0c7a4d13f.tar.gz blackbird-skiboot-1325599645ff46b0c767ef23ee8a36c0c7a4d13f.zip |
test: add multithreaded mambo tests
Adds make targets to perform boot tests using multithreaded mambo. There
are seperate targets for the kernel and hello_world payloads.
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
[stewart@linux.vnet.ibm.com: Use SMT rather than threaded in test description]
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'test/hello_world')
-rw-r--r-- | test/hello_world/Makefile.check | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/hello_world/Makefile.check b/test/hello_world/Makefile.check index 7a1889e4..ee813f17 100644 --- a/test/hello_world/Makefile.check +++ b/test/hello_world/Makefile.check @@ -1,13 +1,20 @@ HELLO_WORLD_TEST := test/hello_world/hello_kernel/hello_kernel -check: $(HELLO_WORLD_TEST:%=%-check-mambo) $(HELLO_WORLD_TEST:%=%-check-qemu) +.PHONY: hello_world-tests +hello_world-tests: $(HELLO_WORLD_TEST:%=%-check-smt-mambo) +hello_world-tests: $(HELLO_WORLD_TEST:%=%-check-mambo) +hello_world-tests: $(HELLO_WORLD_TEST:%=%-check-qemu) -boot-tests: $(HELLO_WORLD_TEST:%=%-check-mambo) $(HELLO_WORLD_TEST:%=%-check-qemu) +boot-tests: hello_world-tests +check: hello_world-tests -$(HELLO_WORLD_TEST:%=%-check-mambo) : %-check-mambo: % skiboot.lid +$(HELLO_WORLD_TEST:%=%-check-smt-mambo): %-check-smt-mambo: % skiboot.lid + THREADS=2 ./test/hello_world/run_mambo_hello_world.sh + +$(HELLO_WORLD_TEST:%=%-check-mambo): %-check-mambo: % skiboot.lid ./test/hello_world/run_mambo_hello_world.sh -$(HELLO_WORLD_TEST:%=%-check-qemu) : %-check-qemu: % skiboot.lid +$(HELLO_WORLD_TEST:%=%-check-qemu): %-check-qemu: % skiboot.lid ./test/hello_world/run_qemu_hello_world.sh test/hello_world/hello_kernel/hello_kernel.o: test/hello_world/hello_kernel/hello_kernel.S test/hello_world/hello_kernel/hello_kernel.ld |