aboutsummaryrefslogtreecommitdiff
path: root/tests/user-qemu.mk
Commit message (Collapse)AuthorAgeFilesLines
* add tests for FLOAT/XFLOAT stateLuca Dariz2024-09-081-1/+2
| | | | Message-ID: <20240904201806.510082-2-luca@orpolo.org>
* Add a test for thread stateSergey Bugaev2024-04-161-1/+2
| | | | | | | This tests generating and handling exceptions, thread_get_state(), thread_set_state(), and newly added thread_set_self_state(). It does many of the same things that glibc does when handling a signal. Message-ID: <20240416071013.85596-1-bugaevc@gmail.com>
* tests: Fix running on 32bit hostSamuel Thibault2024-04-061-1/+1
| | | | qemu-system-i386 says at most 2047 MB RAM can be simulated
* tests: Fix include pathSamuel Thibault2024-04-061-1/+1
|
* tests: Add missing test files shippingSamuel Thibault2024-04-061-4/+8
|
* tests: Create tests/ in the build tree before trying to use itSergey Bugaev2024-03-271-0/+1
| | | | Message-ID: <20240327161841.95685-18-bugaevc@gmail.com>
* add basic thread testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-11-luca@orpolo.org>
* add basic task testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-10-luca@orpolo.org>
* add raw mach_msg testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-9-luca@orpolo.org>
* add syscall testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-8-luca@orpolo.org>
* add thread creation helper to testsLuca Dariz2024-01-131-0/+1
| | | | Message-ID: <20240111210907.419689-7-luca@orpolo.org>
* add basic vm testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-6-luca@orpolo.org>
* add mach_port testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-4-luca@orpolo.org>
* add gsync testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-3-luca@orpolo.org>
* add mach_host testsLuca Dariz2024-01-131-1/+2
| | | | Message-ID: <20240111210907.419689-2-luca@orpolo.org>
* add basic user-space tests with qemuLuca Dariz2024-01-131-0/+212
* configure.ac: move test fragment to have USER32 * tests/Makefrag.am: add user tests * tests/README: add basic info on how to run and debug user tests * tests/configfrag.ac: allow the test compiler/flags to be autoconfigured or customized * tests/grub.cfg.single.template: add minimal grub config to boot a module * tests/include/device/cons.h: add a simplified version of device/cons.h usable for tests * tests/include/kern/printf.h: symlink to kern/printf.h * tests/include/mach/mig_support.h: add basic version for user-space tests * tests/include/syscalls.h: add prototypes for syscalls used in tests. * tests/include/testlib.h: add definitions for common test functionalities * tests/include/util/atoi.h: symlink to util/atoi.h * tests/run-qemu.sh.template: add a simple qemu test runner * tests/start.S: add arch-specific entry point * tests/syscalls.S: generate syscalls entry points * tests/test-hello.c: add basic smoke test * tests/testlib.c: add the minimal functionality to run a user-space executable and reboot the system, and some test helpers. * tests/user-qemu.mk: add rules to build simple user-space test modules, including generating mig stubs. The tests reuse some kernel code (like printf(), mach_atoi(), mem*(), str*() functions) so we can use the freestanding environment and not depend on glibc. Message-ID: <20240111210907.419689-1-luca@orpolo.org>