mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-08 12:20:21 +00:00
Add execve test to depot autopilot
This commit is contained in:
parent
886d0da57c
commit
4ebc164c11
@ -675,6 +675,7 @@ set default_test_pkgs {
|
|||||||
test-libc_connect_vfs_server_lwip
|
test-libc_connect_vfs_server_lwip
|
||||||
test-libc_connect_vfs_server_lxip
|
test-libc_connect_vfs_server_lxip
|
||||||
test-libc_counter
|
test-libc_counter
|
||||||
|
test-libc_execve
|
||||||
test-libc_getenv
|
test-libc_getenv
|
||||||
test-libc_pipe
|
test-libc_pipe
|
||||||
test-libc_vfs
|
test-libc_vfs
|
||||||
|
1
repos/libports/recipes/pkg/test-libc_execve/README
Normal file
1
repos/libports/recipes/pkg/test-libc_execve/README
Normal file
@ -0,0 +1 @@
|
|||||||
|
Test for the execve mechanism provided by the libc.
|
4
repos/libports/recipes/pkg/test-libc_execve/archives
Normal file
4
repos/libports/recipes/pkg/test-libc_execve/archives
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
_/src/test-libc_execve
|
||||||
|
_/src/libc
|
||||||
|
_/src/vfs
|
||||||
|
_/src/posix
|
1
repos/libports/recipes/pkg/test-libc_execve/hash
Normal file
1
repos/libports/recipes/pkg/test-libc_execve/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2020-03-05 be84f6f33c3c0f7dd4358324c8a95af0e333d860
|
@ -1,8 +1,22 @@
|
|||||||
build { core init test/execve }
|
<runtime ram="32M" caps="1000" binary="init">
|
||||||
|
|
||||||
create_boot_directory
|
<requires> <timer/> </requires>
|
||||||
|
|
||||||
|
<events>
|
||||||
|
<timeout meaning="failed" sec="70" />
|
||||||
|
<log meaning="succeeded">child "test-execve" exited with exit value 0</log>
|
||||||
|
</events>
|
||||||
|
|
||||||
|
<content>
|
||||||
|
<rom label="ld.lib.so"/>
|
||||||
|
<rom label="libc.lib.so"/>
|
||||||
|
<rom label="libm.lib.so"/>
|
||||||
|
<rom label="posix.lib.so"/>
|
||||||
|
<rom label="vfs.lib.so"/>
|
||||||
|
<rom label="vfs"/>
|
||||||
|
<rom label="test-execve"/>
|
||||||
|
</content>
|
||||||
|
|
||||||
install_config {
|
|
||||||
<config verbose="yes">
|
<config verbose="yes">
|
||||||
<parent-provides>
|
<parent-provides>
|
||||||
<service name="ROM"/>
|
<service name="ROM"/>
|
||||||
@ -25,12 +39,5 @@ install_config {
|
|||||||
</route>
|
</route>
|
||||||
</start>
|
</start>
|
||||||
</config>
|
</config>
|
||||||
}
|
|
||||||
|
|
||||||
build_boot_image {
|
</runtime>
|
||||||
core init ld.lib.so libc.lib.so vfs.lib.so libm.lib.so posix.lib.so test-execve
|
|
||||||
}
|
|
||||||
|
|
||||||
append qemu_args " -nographic "
|
|
||||||
|
|
||||||
run_genode_until "child.*exited.*value 0.*\n" 15
|
|
3
repos/libports/recipes/src/test-libc_execve/content.mk
Normal file
3
repos/libports/recipes/src/test-libc_execve/content.mk
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
SRC_DIR = src/test/execve
|
||||||
|
|
||||||
|
include $(GENODE_DIR)/repos/base/recipes/src/content.inc
|
1
repos/libports/recipes/src/test-libc_execve/hash
Normal file
1
repos/libports/recipes/src/test-libc_execve/hash
Normal file
@ -0,0 +1 @@
|
|||||||
|
2020-03-05 683c1e1941d9bc880cdf6922ba443ccd67e19d63
|
3
repos/libports/recipes/src/test-libc_execve/used_apis
Normal file
3
repos/libports/recipes/src/test-libc_execve/used_apis
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
base
|
||||||
|
posix
|
||||||
|
libc
|
@ -3,3 +3,4 @@ SRC_CC = test.cc
|
|||||||
LIBS = posix
|
LIBS = posix
|
||||||
|
|
||||||
CC_CXX_WARN_STRICT =
|
CC_CXX_WARN_STRICT =
|
||||||
|
CC_CXX_OPT += -fno-exceptions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user