summaryrefslogtreecommitdiffstats
path: root/test/run_qemu_boot_test.sh
Commit message (Collapse)AuthorAgeFilesLines
* ci: qemu boot tests should use built skibootStewart Smith2019-03-281-1/+1
| | | | Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* test: Update qemu arguments to use bmc simulatorJoel Stanley2018-12-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | THe qemu skiboot platform as of 8340a9642bba ("plat/qemu: use the common OpenPOWER routines to initialize") uses the common aspeed BMC setup routines. This means a BT interface is always set up, and if the corresponding Qemu model is not present the timeout is 30 seconds. It looks like this every time an IPMI message is sent: BT: seq 0x9e netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9d netfn 0x06 cmd 0x31: Removed from queue BT: seq 0x9f netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9e netfn 0x06 cmd 0x31: Removed from queue BT: seq 0xa0 netfn 0x06 cmd 0x31: Maximum queue length exceeded BT: seq 0x9f netfn 0x06 cmd 0x31: Removed from queue Avoid this by adding the bmc simulator model to the Qemu powernv machine. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Use $() rather than backticks in all shellStewart Smith2018-09-131-4/+4
| | | | | | | | | | | 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/qemu: start building qemu again, and use our built qemu for testsStewart Smith2018-06-271-5/+5
| | | | | | | We need to use QEMU_BIN rather than QEMU as the makefiles define QEMU already. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* test/qemu: skip qemu test if 'old' qemu without PCRStewart Smith2018-05-291-0/+7
| | | | | | | | 3d019581c98153 introduced clearing PCR on reinit cpus, and until (the near future from now) qemu didn't support this register. Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* tests: Specfiy Qemu with a single environment variableJoel Stanley2018-05-021-9/+5
| | | | | | | | | | | | This allows Qemu to work out of the box if the user has an appropriate Qemu installed. Support for running TCG power guests has come a long way from when we first added these test scripts. It makes sense to use the system Qemu where possible, as for most people this will succeed. Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
* Mambo/Qemu boot tests: expect (and fail) on checkstopStewart Smith2017-03-311-0/+1
| | | | | | This allows us to fail a lot faster if we checkstop Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* test/qemu: bump qemu version used in CI, adds IPMI supportStewart Smith2016-08-261-1/+1
| | | | | | Now based on Cédric's branch. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Support PowerNV Qemu for running testsStewart Smith2015-10-261-0/+60
We now run tests under both Mambo and QEMU PowerNV model. Also added are scripts in opal-ci/ for building powernv model qemu. Currently, this is not yet in upstream qemu, so we build from Ben's branch. You can start using qemu along with/instead of Mambo by: 1) (cd ./opal-ci; sudo ./install-deps-qemu-powernv.sh; ./build-qemu-powernv.sh) 2) Pointing QEMU_PATH and QEMU_BINARY environment variables to appropriate qemu binary with powernv model When building qemu ourselves, we build a *specific* known good tag from the open-power tree. This should ensure that into the future existing test scripts should continue to function. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud