summaryrefslogtreecommitdiffstats
path: root/test/sreset_world
Commit message (Collapse)AuthorAgeFilesLines
* Use $() rather than backticks in all shellStewart Smith2018-09-132-8/+8
| | | | | | | | | | | The cool kids are all using $() these days as backticks are all backwards and uncool. Practically speaking, it makes it easier to escape things, nest things, and all the other reasons listed on http://mywiki.wooledge.org/BashFAQ/082 Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test: Simplify build process for hello and sreset testsJoel Stanley2018-05-092-38/+12
| | | | | | | | | | | | | | | | | | | | | | | Link with ld instead of gcc so we can build with clang as cc. Remove the linker script and unnecessary flags. The application links just fine without them. Add cflags required by clang in order to build for the correct target. Remove the dependency file generation. The assembly files don't include any headers, so they weren't doing anything. Simplify clean rule, as the $(RM) alias does -f for us, and we no longer have .d files. Build tested on ppc64le and amd64. Booted in Qemu on both using: qemu-system-ppc64 -M powernv -nodefaults -nographic -serial stdio \ -kernel test/hello_world/hello_kernel/hello_kernel Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* sreset_world: re-enable the non-stb buildJoel Stanley2018-05-041-1/+1
| | | | | | | | | | This breaks the test when you don't have the SKIBOOT_ENABLE_MAMBO_STB flag set, as the binary is removed as an intermediate artefact (I suspect) when building the sreset_world.stb binary. Fixes: 1ddf7e51936f ("Mambo: run hello_world and sreset_world tests with Secure and Trusted Boot") Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Mambo: run hello_world and sreset_world tests with Secure and Trusted BootStewart Smith2017-12-203-4/+25
| | | | | | | | | We *disable* the secure boot part, but we keep the verified boot part as we don't currently have container verification code for Mambo. We can run a small part of the code currently though. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* sreset_kernel: only run SMT tests due to not supporting re-entryStewart Smith2017-12-042-9/+2
| | | | | Fixes: 0d84ea6bda03a00a1765dd7240a9e5231a537e96 Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test kernels: link with -NStewart Smith2017-08-241-1/+1
| | | | | | | "Not enough room for program headers, try linking with -N" Turns out the error message is helpful Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Mambo/Qemu boot tests: expect (and fail) on checkstopStewart Smith2017-03-312-0/+6
| | | | | | This allows us to fail a lot faster if we checkstop Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test/sreset_world: Kind of like Hello World, but from the SRESET vector.Stewart Smith2017-03-076-0/+327
A regression test for the mambo implementation of OPAL_SIGNAL_SYSTEM_RESET. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud