Fork us on GitHub Follow us on Google+ Follow us on Facebook Follow us on Twitter

Version 1 (modified by Vojtech Horky, 4 weeks ago) (diff)

Start writing

Automated testing of HelenOS in a virtual machine

Part of HelenOS continuous testing are also tests that are executed inside HelenOS. That is, we launch a VM (QEMU or MSIM at the moment) and check that command executed inside HelenOS gives the expected output. This page contains a brief overview of how to write such tests and how to run them.

test-in-vm.py

The testing script is in the root of the CI repository. To try it, prepare a HelenOS image (or grab one from ci.helenos.org) for one of the supported architectures. Here, we will assume you have downloaded HelenOS with binutils and PCC for amd64 into helenos-amd64-with-binutils-pcc.iso.