2
0
Fork 0
Commit Graph

121 Commits

Author SHA1 Message Date
Emery Hemingway a61c3532e8 Build more packages using upstream build system
- Implement support for "ports"
- Update Nixpkgs to use Genode 20.02
- Remove packaging of forked Genode
2020-03-02 19:17:14 +01:00
Emery Hemingway ffa45d7d2b Remove testing cruft 2020-03-01 01:53:18 +01:00
Emery Hemingway 52fe694be4 Add NOVA driver_manager test 2020-02-27 18:17:14 +01:00
Emery Hemingway 629e6930c7 Add qemuArgs to tests, invoke tests with testEnv
Execute QEMU tests with ${qemuArgs}, rename env to testEnv and
merge testEnv into test shell variables.
2020-02-27 17:57:03 +01:00
Emery Hemingway 458d3b5808 Build Genode tests with upstream build system 2020-02-24 22:47:07 +01:00
Emery Hemingway 94868758e5 Refactor tests to use nested Init/Child type 2020-02-24 22:47:07 +01:00
Emery Hemingway a8f2b9e864 Generate SOTEST archives for base-hw 2020-02-19 14:27:24 +01:00
Emery Hemingway 83d8a8881d Consolidate SOTEST wrapper for all test platforms 2020-02-19 14:17:52 +01:00
Emery Hemingway a2fc8f8ed1 Run Linux tests under SOTEST for consistency 2020-02-19 14:17:52 +01:00
Emery Hemingway d37bff8d16 Derive QEMU memory for tests from init configuration
Boot QEMU tests with the minimum required memory. This value can be
derived from the test configuration rather than set manually.
2020-02-19 13:26:15 +01:00
Emery Hemingway 36f682ccd4 Update Genode Dhall library
Freeze the library when committing to the Nix store. The Init.toStart
function now lowers an only-child automatically, so adjust the Timer
service routes in tests accordingly.
2020-02-19 13:26:15 +01:00
Emery Hemingway 895c06ee0b Build base-nova using Genode Labs build system 2020-02-19 13:26:15 +01:00
Emery Hemingway 7d5d2a3c5e Add base-hw-pc
Build base-hw-pc with the Genode Labs build system
2020-02-19 13:26:15 +01:00
Emery Hemingway c0b5ee9f73 Build only the Genode base repositories with GCC 2020-02-14 13:04:40 +01:00
Emery Hemingway 1744edee2e Boot Qemu with -kernel, skip ISO 2020-02-05 12:25:39 +01:00
Emery Hemingway bb659887f3 Update Genode revision
The label used to request an unlabeled LOG session is now "unlabeled"
and more of the gems repo is built now.
2020-01-29 19:38:55 +01:00
Emery Hemingway fcb0a48401 Lower single child tests for NOVA test wrapper
If an single-child init is added to a list of children then it must be
safe to lower the child and add it to the list directly.
2020-01-28 14:00:09 +01:00
Emery Hemingway 23193460fa Remove fs_report test
Nix flake check should always succeed for the master checkout, but this
test was always broken.
2020-01-28 11:18:55 +01:00
Emery Hemingway e88537c411 nova-image: write image to stdout 2020-01-28 00:38:09 +01:00
Emery Hemingway 0afe6af54d nova-image: remove Arch union type 2020-01-27 11:49:39 +01:00
Emery Hemingway 66db226f44 Add simple noux test 2020-01-25 18:14:18 +01:00
Emery Hemingway fffd53664b Apply manifest merging in tests
Merged manifests are easier to work with as the number of inputs increase.
2020-01-25 00:17:33 +01:00
Emery Hemingway c5da3100c4 Solo5 tests must exit for Sotest compatibility 2020-01-24 14:46:51 +01:00
Emery Hemingway 3aba7ac2c2 Use Genode.Boot.Rom type when building test images 2020-01-24 14:46:51 +01:00
Emery Hemingway 4fa63f845d Fix Solo5 library
The solo5.lib.so library must be stripped to be compatible with ld.lib.so.
2020-01-24 14:46:51 +01:00
Emery Hemingway 33d11182e3 Add Rtc test 2020-01-24 14:46:51 +01:00
Emery Hemingway f78cb9477e Produce Sotest binaries.zip for every NOVA test 2020-01-24 14:46:51 +01:00
Emery Hemingway 8beebf2ae1 Dhall formatting 2020-01-24 14:46:51 +01:00
Emery Hemingway 3494b589ec Test exits must propagate
When a test component exits this needs to be caught by a test harness,
therefore the intermediate init needs to exit as well.
2020-01-24 14:46:51 +01:00
Emery Hemingway 37144809f6 Add log test 2020-01-24 14:46:51 +01:00
Emery Hemingway 9fc90076d6 Replace apps.linux-boot with apps.linux-image
Replace a script that builds a Linux boot image into the current workings
directory and boots it with a script that only builds the image.
2020-01-24 14:46:51 +01:00
Emery Hemingway 7be2a6f17e Checks: add sotest builder 2020-01-24 14:46:51 +01:00
Emery Hemingway 3b9d3aa99f Pin Bender revision 2020-01-24 14:46:51 +01:00
Emery Hemingway 02ab09bd3a Remove solo5 test meta.maintainers 2020-01-24 14:46:51 +01:00
Emery Hemingway 4af2598ecb Use flake apps for tests 2020-01-24 14:46:51 +01:00
Emery Hemingway 40df18a963 Relicense as CC0-1.0 2020-01-24 14:46:41 +01:00
Emery Hemingway 48eec79d46 Move packaging of Genode core repositories here 2020-01-22 13:02:43 +01:00
Emery Hemingway 7388091a3e Update flake 2020-01-14 17:07:51 +01:00
Emery Hemingway 4ca891a7c4 Solo5: make tests runnable outside of build 2020-01-14 16:22:10 +01:00
Emery Hemingway b78a960252 Remove libc test
The test-libc binary is not published by Genode Labs.
2019-12-02 18:05:59 +01:00
Emery Hemingway 53a18acd08 Use cross-compliation pairs in Flake 2019-12-02 18:05:59 +01:00
Emery Hemingway 15360a0ff5 Move upstream build to external flake 2019-12-02 18:05:59 +01:00
Emery Hemingway bd1ac437ba Take pre-built binaries from a genode-depot flake 2019-11-17 13:24:08 +01:00
Emery Hemingway ef9f76744f Bump dhall-genode
• update dhall-genode revision
• render top-level init config with lib.renderDhallInit
• convert Init.Start.config to optionals
• lib.validate renderDhallInit XML
2019-11-17 13:24:08 +01:00
Emery Hemingway 20594a9962 Build QEMU script with ISO 2019-11-17 13:24:08 +01:00
Emery Hemingway 410a6522c5 Add 'lib' to flake top-level 2019-11-17 13:24:08 +01:00
Emery Hemingway 4aba5a4e85 Convert flake to a attrset of systems 2019-11-17 13:24:08 +01:00
Emery Hemingway 7eda0b9f55 Rename genode.os to genode-os 2019-11-17 13:24:08 +01:00
Emery Hemingway 606b45b96a Initial Nix flake 2019-11-17 13:24:08 +01:00
Emery Hemingway d57a144978 Update Genode sources, test Nix-built core 2019-11-17 13:24:07 +01:00
Emery Hemingway ccdfcd7a5b Set preferLocalBuild for tests 2019-10-28 16:01:46 +01:00
Emery Hemingway 318d718724 Configure QEMU with q35 machine model 2019-10-24 12:08:04 +02:00
Emery Hemingway d812f2b3a9 Test with full QEMU version, PC model 2019-10-23 17:46:35 +02:00
Emery Hemingway 5e2037815d Update upstream rev and remove some depot binaries from tests 2019-10-23 14:12:25 +02:00
Emery Hemingway 9410b836c2 Use "record override" syntatic-sugar in Dhall test configs 2019-10-23 14:12:02 +02:00
Emery Hemingway 4ecd77a06d Split Solo5 tests 2019-10-23 00:54:35 +02:00
Emery Hemingway 1d3e849bc4 Pass a testEnv attrset when importing test files
This allows test files to contain multiple test derivations and check
test harness attributes.
2019-10-23 00:54:35 +02:00
Emery Hemingway 0af2761b44 Add PCI test 2019-10-13 15:36:48 +02:00
Emery Hemingway 504f59716c Make "config" and "iso" test attributes accessible 2019-10-13 13:24:46 +02:00
Emery Hemingway a3f8d20d23 Tests: replace most of the Tcl code
Tcl is awful. Generate NOVA test ISOs with a shell script derivation.
2019-10-10 10:34:48 +02:00
Emery Hemingway ae10abc7f2 Update dhall-haskell, enable tests for Hydra 2019-10-10 00:49:18 +02:00
Emery Hemingway fbc11b0698 Publish NOVA test ISOs 2019-10-09 16:05:40 +02:00
Emery Hemingway 434f364021 Add more Solo5 tests 2019-10-08 15:53:27 +02:00
Emery Hemingway cb7e956a73 Collect test modules by procedure 2019-10-08 15:53:27 +02:00
Emery Hemingway 9096313d6c Add NOVA tests 2019-10-07 23:39:26 +02:00
Emery Hemingway 484d036057 Fix base-linux build, compile -O2 2019-10-07 23:39:26 +02:00
Emery Hemingway 693ac303e0 Use a host-only Nixpkgs for test environment
Discriminate test-packages and host-packages when building tests.
This avoids the test tooling being tainted with the hostPlatform
and targetPlatform of the test. For example, QEMU must be built
independently and isolated from the guest platform, for the sake
of test control and minimizing rebuilds.
2019-10-07 17:21:06 +02:00
Emery Hemingway 70c090af51 Add Solo5 package and tests 2019-10-07 10:37:59 +02:00
Emery Hemingway a1259a54e7 Tests: split off Linux test driver, generate with Dhall 2019-10-05 20:41:02 +02:00
Emery Hemingway 96e098d644 Configure Genode build with tup.config 2019-10-04 14:45:48 +02:00
Emery Hemingway 4d51c1671f Add tests 2019-10-04 12:46:23 +02:00