Philipp Schuster bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 2 سال پیش
..
bins bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
nix bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
tests bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
.envrc bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
.run.sh bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
README.md bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
run.sh bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش
shell.nix bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 سال پیش

README.md

Integrationtests

This directory contains integration tests for the multiboot2 and the multiboot2-header crate. The integration tests start a QEMU VM and do certain checks at runtime. If something fails, they instruct QEMU to exit with an error code. All output of the VM is printed to the screen. If

The bins directory contains binaries that are the tests. The tests directory contains test definitions, run scripts, and other relevant files. The main entry to run all tests is ./run.sh in this directory.

TL;DR:

  • $ ./run.sh to execute the integration tests

Prerequisites

The tests rely on nix being installed / nix-shell being available to get the relevant tools.