Emery Hemingway
559f4aa3c0
Add aarch64 platform
...
Add the hw-virt_qemu platform to tests, rename hw to hw-pc.
2020-06-03 16:56:33 +05:30
Emery Hemingway
40c1977779
Replace test framework
...
Adopt the Python test driver from NixOS. Temporarily drop Sotest
runs.
2020-06-01 17:15:03 +05:30
Emery Hemingway
46c6561302
test/posix: convert to bash script
2020-05-30 17:31:12 +05:30
Emery Hemingway
4acaab5244
test: pass store to test children
2020-05-30 17:31:12 +05:30
Emery Hemingway
f289a4b88f
tests: load binaries from store tarball
...
Remove linux tests, not compatible with cached_fs_rom.
2020-05-19 17:51:24 +05:30
Emery Hemingway
53afe72493
tests: initially format ROM manifests into maps
2020-05-18 17:27:20 +05:30
Emery Hemingway
ba2d96d419
Place binaries into $out directories rather than simply as $out
2020-05-16 02:50:10 +05:30
Emery Hemingway
4696802515
solo5: 0.6.4 -> 0.6.5
2020-05-15 11:12:43 +05:30
Emery Hemingway
a50b0a7d0e
Remove Noux test, remove prebuilt depo packages
...
The stdenv is not building against the Noux libc, so remove it.
2020-05-08 09:32:23 +05:30
Emery Hemingway
55c093e0c5
Use updateAutotoolsGnuConfigScript to build legacy packages
...
Update Nixpkgs to use the updateAutotoolsGnuConfigScript hook everywhere
for Genode target platforms. Tweak Coreutils and Bash to compile, make
some tests.
2020-05-08 02:05:41 +05:30
Emery Hemingway
32d65d2f41
Patch Genode upstream to use conventional library names
...
Use library names that are compatible with legacy software.
2020-05-08 01:11:30 +05:30
Emery Hemingway
bdcc22d5be
dhall-genode: update to fix missing parent-provides
2020-05-01 06:33:27 +05:30
Emery Hemingway
06c8283dee
test: update to use new routes configuration method
2020-05-01 05:22:58 +05:30
Emery Hemingway
d8ba46e742
tests: consolidate sotest to a single project
...
Make one SoTest run per hydra evaluation.
2020-04-26 11:55:02 +05:30
Emery Hemingway
1f5dfe4ef5
tests: add vmm_x86 test
2020-04-26 11:48:23 +05:30
Emery Hemingway
1400dded7e
fixup! tests: consolidate rtc, signal, pci into x86 test
2020-04-26 11:48:05 +05:30
Emery Hemingway
722edd4d8e
tests: make sotest opt-in
...
Sotest must be explicitly enabled for tests. Use new build-product
subtypes for hydra. Use bender binary provided by Cyberus.
2020-04-15 16:47:46 +05:30
Emery Hemingway
78c5a2bb19
Test consolidation
2020-04-14 00:01:39 +05:30
Emery Hemingway
e97e80dcaf
block_router: 0.1.1 <- 0.1.0
2020-04-13 12:40:45 +05:30
Emery Hemingway
e48de48711
Optimize base-hw tests, include dhall config with build
2020-04-11 14:09:06 +05:30
Emery Hemingway
ed3cf7f063
Prefer Genode Labs packages from depot builds
2020-04-08 21:22:52 +05:30
Emery Hemingway
33d866c5e7
Cleanup checks
2020-04-08 21:22:52 +05:30
Emery Hemingway
8cdc415417
Optimize Dhall processing
2020-04-05 13:31:11 +05:30
Emery Hemingway
049b0d3053
tests: rename hostPkgs to buildPkgs
...
This is consistent with Nixpkgs terminology.
2020-04-04 16:32:37 +05:30
Emery Hemingway
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
Emery Hemingway
a0a31fa548
Restructure flake.nix to use a nixpkgs overlay
2020-03-24 18:32:57 +05:30
Emery Hemingway
6558f3c232
Add block_router package
2020-03-24 18:32:56 +05:30
Emery Hemingway
818014787f
Update to latest Dhall in Nixpkgs master
2020-03-18 19:40:58 +05:30
Emery Hemingway
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
Emery Hemingway
2aab55dc38
Write boot image configuration to file during compilation
...
Sometimes ld chokes on complex XML renderings.
2020-03-07 14:03:16 +01:00
Emery Hemingway
19dccc4862
Update dhall-genode, use report_rom inference
2020-03-07 10:57:41 +01:00
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