mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-02 20:16:48 +00:00
Rename "failsafe" test to "fault_detection"
The name "failsafe" will be used for the upcoming failsafe server wrapper. Issue #1592
This commit is contained in:
parent
712875ade4
commit
ed88d3aa13
@ -13,8 +13,8 @@ if {[have_spec fiasco]} {
|
|||||||
#
|
#
|
||||||
# The L4/Fiasco kernel has known problems with the destruction of threads
|
# The L4/Fiasco kernel has known problems with the destruction of threads
|
||||||
# that are currently participating in IPC (the "red-thread issue"). The
|
# that are currently participating in IPC (the "red-thread issue"). The
|
||||||
# failsafe test reliably triggers the problem. Since the development of
|
# fault-detection test reliably triggers the problem. Since the development
|
||||||
# the kernel has been stopped, however, this issue is expected to remain
|
# of the kernel has been stopped, however, this issue is expected to remain
|
||||||
# unresolved. Newer kernels such as Fiasco.OC do not have the problem.
|
# unresolved. Newer kernels such as Fiasco.OC do not have the problem.
|
||||||
#
|
#
|
||||||
exit 0
|
exit 0
|
||||||
@ -24,7 +24,7 @@ if {[have_spec fiasco]} {
|
|||||||
# Build
|
# Build
|
||||||
#
|
#
|
||||||
|
|
||||||
build { core init server/loader test/failsafe test/segfault }
|
build { core init server/loader test/fault_detection test/segfault }
|
||||||
|
|
||||||
create_boot_directory
|
create_boot_directory
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ install_config {
|
|||||||
<resource name="RAM" quantum="10M"/>
|
<resource name="RAM" quantum="10M"/>
|
||||||
<provides> <service name="Loader"/> </provides>
|
<provides> <service name="Loader"/> </provides>
|
||||||
</start>
|
</start>
|
||||||
<start name="test-failsafe">
|
<start name="test-fault_detection">
|
||||||
<resource name="RAM" quantum="10M"/>
|
<resource name="RAM" quantum="10M"/>
|
||||||
</start>
|
</start>
|
||||||
</config>
|
</config>
|
||||||
@ -62,7 +62,7 @@ install_config {
|
|||||||
#
|
#
|
||||||
|
|
||||||
# generic modules
|
# generic modules
|
||||||
set boot_modules { core init loader test-failsafe test-segfault }
|
set boot_modules { core init loader test-fault_detection test-segfault }
|
||||||
|
|
||||||
build_boot_image $boot_modules
|
build_boot_image $boot_modules
|
||||||
|
|
||||||
@ -72,4 +72,4 @@ build_boot_image $boot_modules
|
|||||||
|
|
||||||
append qemu_args "-nographic -m 64"
|
append qemu_args "-nographic -m 64"
|
||||||
|
|
||||||
run_genode_until "--- finished failsafe test ---.*\n" 30
|
run_genode_until "--- finished fault_detection test ---.*\n" 30
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* \brief Test program for failsafe monitoring
|
* \brief Test program for detecting faults
|
||||||
* \author Norman Feske
|
* \author Norman Feske
|
||||||
* \date 2013-01-03
|
* \date 2013-01-03
|
||||||
*/
|
*/
|
||||||
@ -128,7 +128,7 @@ class Test_child : public Genode::Child_policy
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
void failsafe_child_test()
|
void faulting_child_test()
|
||||||
{
|
{
|
||||||
using namespace Genode;
|
using namespace Genode;
|
||||||
|
|
||||||
@ -180,7 +180,7 @@ void failsafe_child_test()
|
|||||||
** Test for detecting failures in a child started by the loader **
|
** Test for detecting failures in a child started by the loader **
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
void failsafe_loader_child_test()
|
void faulting_loader_child_test()
|
||||||
{
|
{
|
||||||
using namespace Genode;
|
using namespace Genode;
|
||||||
|
|
||||||
@ -218,7 +218,7 @@ void failsafe_loader_child_test()
|
|||||||
** Test for detecting failures in a grandchild started by the loader **
|
** Test for detecting failures in a grandchild started by the loader **
|
||||||
***********************************************************************/
|
***********************************************************************/
|
||||||
|
|
||||||
void failsafe_loader_grand_child_test()
|
void faulting_loader_grand_child_test()
|
||||||
{
|
{
|
||||||
using namespace Genode;
|
using namespace Genode;
|
||||||
|
|
||||||
@ -289,15 +289,15 @@ int main(int argc, char **argv)
|
|||||||
{
|
{
|
||||||
using namespace Genode;
|
using namespace Genode;
|
||||||
|
|
||||||
printf("--- failsafe test started ---\n");
|
printf("--- fault_detection test started ---\n");
|
||||||
|
|
||||||
failsafe_child_test();
|
faulting_child_test();
|
||||||
|
|
||||||
failsafe_loader_child_test();
|
faulting_loader_child_test();
|
||||||
|
|
||||||
failsafe_loader_grand_child_test();
|
faulting_loader_grand_child_test();
|
||||||
|
|
||||||
printf("--- finished failsafe test ---\n");
|
printf("--- finished fault_detection test ---\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
@ -1,3 +1,3 @@
|
|||||||
TARGET = test-failsafe
|
TARGET = test-fault_detection
|
||||||
SRC_CC = main.cc
|
SRC_CC = main.cc
|
||||||
LIBS = base
|
LIBS = base
|
@ -19,7 +19,7 @@ lx_hybrid_exception
|
|||||||
lx_hybrid_pthread_ipc
|
lx_hybrid_pthread_ipc
|
||||||
moon
|
moon
|
||||||
thread_join
|
thread_join
|
||||||
failsafe
|
fault_detection
|
||||||
netperf_lwip
|
netperf_lwip
|
||||||
netperf_lwip_usb30
|
netperf_lwip_usb30
|
||||||
netperf_lwip_bridge
|
netperf_lwip_bridge
|
||||||
|
Loading…
Reference in New Issue
Block a user