mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
parent
d5d3b3c3a4
commit
7e7c10e66c
@ -708,6 +708,7 @@ set default_test_pkgs {
|
||||
test-rm_nested
|
||||
test-rm_stress
|
||||
test-rom_filter
|
||||
test-sandbox
|
||||
test-sanitizer
|
||||
test-sequence
|
||||
test-signal
|
||||
|
1
repos/os/recipes/pkg/test-sandbox/README
Normal file
1
repos/os/recipes/pkg/test-sandbox/README
Normal file
@ -0,0 +1 @@
|
||||
Test for the sandbox API.
|
3
repos/os/recipes/pkg/test-sandbox/archives
Normal file
3
repos/os/recipes/pkg/test-sandbox/archives
Normal file
@ -0,0 +1,3 @@
|
||||
_/src/test-sandbox
|
||||
_/src/sandbox
|
||||
_/src/dummy
|
1
repos/os/recipes/pkg/test-sandbox/hash
Normal file
1
repos/os/recipes/pkg/test-sandbox/hash
Normal file
@ -0,0 +1 @@
|
||||
2021-02-22 cc4749a3d3510e63bdf5fca9802542967440a2ab
|
19
repos/os/recipes/pkg/test-sandbox/runtime
Normal file
19
repos/os/recipes/pkg/test-sandbox/runtime
Normal file
@ -0,0 +1,19 @@
|
||||
<runtime ram="10M" caps="500" binary="test-sandbox">
|
||||
|
||||
<requires> <timer/> </requires>
|
||||
|
||||
<events>
|
||||
<log meaning="succeeded">version="5"</log>
|
||||
<timeout meaning="failed" sec="10" />
|
||||
</events>
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="sandbox.lib.so"/>
|
||||
<rom label="test-sandbox"/>
|
||||
<rom label="dummy"/>
|
||||
</content>
|
||||
|
||||
<config/>
|
||||
|
||||
</runtime>
|
2
repos/os/recipes/src/test-sandbox/content.mk
Normal file
2
repos/os/recipes/src/test-sandbox/content.mk
Normal file
@ -0,0 +1,2 @@
|
||||
SRC_DIR = src/test/sandbox
|
||||
include $(GENODE_DIR)/repos/base/recipes/src/content.inc
|
1
repos/os/recipes/src/test-sandbox/hash
Normal file
1
repos/os/recipes/src/test-sandbox/hash
Normal file
@ -0,0 +1 @@
|
||||
2021-02-22 865698ec41736b17083468d64a5af96f24229408
|
3
repos/os/recipes/src/test-sandbox/used_apis
Normal file
3
repos/os/recipes/src/test-sandbox/used_apis
Normal file
@ -0,0 +1,3 @@
|
||||
base
|
||||
os
|
||||
timer_session
|
@ -1,34 +0,0 @@
|
||||
build "core init timer test/sandbox app/dummy"
|
||||
|
||||
create_boot_directory
|
||||
|
||||
install_config {
|
||||
<config>
|
||||
<parent-provides>
|
||||
<service name="LOG"/>
|
||||
<service name="PD"/>
|
||||
<service name="CPU"/>
|
||||
<service name="ROM"/>
|
||||
<service name="IRQ"/>
|
||||
<service name="IO_MEM"/>
|
||||
<service name="IO_PORT"/>
|
||||
</parent-provides>
|
||||
<default-route>
|
||||
<any-service> <parent/> <any-child/> </any-service>
|
||||
</default-route>
|
||||
<default caps="500"/>
|
||||
<start name="timer">
|
||||
<resource name="RAM" quantum="1M"/>
|
||||
<provides> <service name="Timer"/> </provides>
|
||||
</start>
|
||||
<start name="test-sandbox">
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
</start>
|
||||
</config>
|
||||
}
|
||||
|
||||
build_boot_image { core ld.lib.so init timer test-sandbox sandbox.lib.so dummy }
|
||||
|
||||
append qemu_args " -nographic "
|
||||
|
||||
run_genode_until "version=\"5\".*\n" 20
|
Loading…
Reference in New Issue
Block a user