Philipp Schuster bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 2 anos atrás
..
bins bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
nix bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
tests bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
.envrc bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
.run.sh bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
README.md bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
run.sh bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás
shell.nix bb3650fcd8 test: add integration test for multiboot2 and multiboot2-header 1 ano atrás

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.