2
0
Fork 0
Commit Graph

32 Commits

Author SHA1 Message Date
Ehmry - 78c5a2bb19 Test consolidation 2020-04-14 00:01:39 +05:30
Ehmry - 33d866c5e7 Cleanup checks 2020-04-08 21:22:52 +05:30
Ehmry - 8cdc415417 Optimize Dhall processing 2020-04-05 13:31:11 +05:30
Ehmry - 049b0d3053 tests: rename hostPkgs to buildPkgs
This is consistent with Nixpkgs terminology.
2020-04-04 16:32:37 +05:30
Ehmry - db7d458b5e Add package manifests at testing site
The manifests can be generated at late as possible. Also, in the future
a list of binaries in use by an init expression can be extracted and
selected from a list of input packages.
2020-03-31 23:10:32 +05:30
Ehmry - a0a31fa548 Restructure flake.nix to use a nixpkgs overlay 2020-03-24 18:32:57 +05:30
Ehmry - 6558f3c232 Add block_router package 2020-03-24 18:32:56 +05:30
Ehmry - 818014787f Update to latest Dhall in Nixpkgs master 2020-03-18 19:40:58 +05:30
Ehmry - 6d6d585f0f Refactor of packaging and testing
- Remove manifests from Dhall configurations and mix all
   test inputs to generate test ROM maps.

 - All loader and timer drivers are name ld.lib.so and timer_drv.

 - Replace packages of multiple Genode Labs targets with functions
   to build individual targets. These packages are not explicitly
   specified unless they require inputs from the source ports or
   extra nativeBuildInputs.

 - Add support for building from Genode world repository.
2020-03-18 19:39:57 +05:30
Ehmry - 2aab55dc38 Write boot image configuration to file during compilation
Sometimes ld chokes on complex XML renderings.
2020-03-07 14:03:16 +01:00
Ehmry - 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
Ehmry - 94868758e5 Refactor tests to use nested Init/Child type 2020-02-24 22:47:07 +01:00
Ehmry - 83d8a8881d Consolidate SOTEST wrapper for all test platforms 2020-02-19 14:17:52 +01:00
Ehmry - a2fc8f8ed1 Run Linux tests under SOTEST for consistency 2020-02-19 14:17:52 +01:00
Ehmry - 7d5d2a3c5e Add base-hw-pc
Build base-hw-pc with the Genode Labs build system
2020-02-19 13:26:15 +01:00
Ehmry - 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
Ehmry - 3aba7ac2c2 Use Genode.Boot.Rom type when building test images 2020-01-24 14:46:51 +01:00
Ehmry - 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
Ehmry - 4af2598ecb Use flake apps for tests 2020-01-24 14:46:51 +01:00
Ehmry - 40df18a963 Relicense as CC0-1.0 2020-01-24 14:46:41 +01:00
Ehmry - 48eec79d46 Move packaging of Genode core repositories here 2020-01-22 13:02:43 +01:00
Ehmry - 53a18acd08 Use cross-compliation pairs in Flake 2019-12-02 18:05:59 +01:00
Ehmry - 15360a0ff5 Move upstream build to external flake 2019-12-02 18:05:59 +01:00
Ehmry - 4aba5a4e85 Convert flake to a attrset of systems 2019-11-17 13:24:08 +01:00
Ehmry - d57a144978 Update Genode sources, test Nix-built core 2019-11-17 13:24:07 +01:00
Ehmry - ccdfcd7a5b Set preferLocalBuild for tests 2019-10-28 16:01:46 +01:00
Ehmry - 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
Ehmry - 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
Ehmry - cb7e956a73 Collect test modules by procedure 2019-10-08 15:53:27 +02:00
Ehmry - 484d036057 Fix base-linux build, compile -O2 2019-10-07 23:39:26 +02:00
Ehmry - 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
Ehmry - a1259a54e7 Tests: split off Linux test driver, generate with Dhall 2019-10-05 20:41:02 +02:00