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

Changes between Version 2 and Version 3 of TestInVM


Ignore:
Timestamp:
2018-11-17T21:20:10Z (4 weeks ago)
Author:
Vojtech Horky
Comment:

Extra opts

Legend:

Unmodified
Added
Removed
Modified
  • TestInVM

    v2 v3  
    2626When you run this script, you will see that it starts QEMU with HelenOS and waits until the terminal appears. Then it automatically types commands that compiles `hello.c` and launches the compiled `a.out` binary. QEMU is then terminated and if all went okay, we will see a message about successful pass of the scenario (or error message explaining the reason for failure).
    2727
     28The use described in the paragraphs above is the basic usage. Usually, we would like to run the scenario without actual QEMU window (as not to distract us) and maybe dump all the contents of the terminal session. Switches for just right that are here:
     29
     30 `--headless`:: Hides any windows, i.e. we can run the script on background or on CI server.
     31 `--memory MB`:: Change the amount of memory available to the virtual machine.
     32 `--pass OPTION`:: Extra options to pass through to the emulator (can be specified multiple times).
     33 `--vterm-dump FILENAME.txt`:: Where to store dump of the whole terminal session.
     34 `--last-screenshot FILENAME.png`:: Where to store screenshot just before the VM is terminated.
     35 `--debug`:: Prints (a lot of) debugging messages.
     36