mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-19 03:06:39 +00:00
parent
5639f31295
commit
fe322b8e82
@ -54,7 +54,8 @@
|
|||||||
[init -> test-xml_generator] </level1>
|
[init -> test-xml_generator] </level1>
|
||||||
[init -> test-xml_generator] </config>
|
[init -> test-xml_generator] </config>
|
||||||
[init -> test-xml_generator]
|
[init -> test-xml_generator]
|
||||||
[init -> test-xml_generator] --- XML generator test finished ---
|
[init -> test-xml_generator] --- XML generator test finished ---*
|
||||||
|
[init] child "test-xml_generator" exited with exit value 0
|
||||||
</log>
|
</log>
|
||||||
<log meaning="failed">Error: </log>
|
<log meaning="failed">Error: </log>
|
||||||
</events>
|
</events>
|
||||||
@ -71,6 +72,7 @@
|
|||||||
<service name="CPU"/>
|
<service name="CPU"/>
|
||||||
<service name="RM"/>
|
<service name="RM"/>
|
||||||
<service name="PD"/>
|
<service name="PD"/>
|
||||||
|
<service name="File_system"/>
|
||||||
</parent-provides>
|
</parent-provides>
|
||||||
<default-route>
|
<default-route>
|
||||||
<any-service> <any-child/> <parent/> </any-service>
|
<any-service> <any-child/> <parent/> </any-service>
|
||||||
|
@ -1 +1,4 @@
|
|||||||
base
|
base
|
||||||
|
file_system_session
|
||||||
|
libgcov
|
||||||
|
os
|
||||||
|
@ -159,6 +159,8 @@ static size_t xml_with_exceptions(char *dst, size_t dst_len)
|
|||||||
return xml.used();
|
return xml.used();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern void gcov_init(Genode::Env &env);
|
||||||
|
extern void genode_exit(int status);
|
||||||
|
|
||||||
void Component::construct(Genode::Env &env)
|
void Component::construct(Genode::Env &env)
|
||||||
{
|
{
|
||||||
@ -166,6 +168,9 @@ void Component::construct(Genode::Env &env)
|
|||||||
|
|
||||||
log("--- XML generator test started ---");
|
log("--- XML generator test started ---");
|
||||||
|
|
||||||
|
env.exec_static_constructors();
|
||||||
|
gcov_init(env);
|
||||||
|
|
||||||
static char dst[1000];
|
static char dst[1000];
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -222,6 +227,6 @@ void Component::construct(Genode::Env &env)
|
|||||||
}
|
}
|
||||||
|
|
||||||
log("--- XML generator test finished ---");
|
log("--- XML generator test finished ---");
|
||||||
env.parent().exit(0);
|
genode_exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
TARGET = test-xml_generator
|
TARGET = test-xml_generator
|
||||||
SRC_CC = main.cc
|
SRC_CC = main.cc
|
||||||
LIBS = base
|
LIBS = base
|
||||||
|
COVERAGE = yes
|
||||||
|
@ -112,7 +112,7 @@ set avail_test_pkgs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
set avail_test_src_pkgs {
|
set avail_test_src_pkgs {
|
||||||
|
test-xml_generator
|
||||||
}
|
}
|
||||||
|
|
||||||
if { $single_test_pkg != "" && [lsearch -exact $avail_test_pkgs $single_test_pkg] == -1} {
|
if { $single_test_pkg != "" && [lsearch -exact $avail_test_pkgs $single_test_pkg] == -1} {
|
||||||
|
Loading…
Reference in New Issue
Block a user