2
0
genodepkgs/tests/boot-ram.dhall
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

10 lines
197 B
Plaintext

-- SPDX-License-Identifier: CC0-1.0
let Genode = env:DHALL_GENODE
let sumRam =
λ(boot : Genode.Boot.Type)
→ let sum = Genode.Init.sumResources boot.config in sum.ram
in sumRam