mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
8bd0efced6
Adapted launchpad and also the rm_fault and resource_request tests. Issue #2407
42 lines
758 B
Plaintext
42 lines
758 B
Plaintext
build "core init test/platform"
|
|
|
|
set check_pat 1
|
|
if {[have_include power_on/qemu]} {
|
|
set check_pat 0
|
|
}
|
|
|
|
create_boot_directory
|
|
|
|
set config {
|
|
<config>
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="CPU"/>
|
|
<service name="RM"/>
|
|
<service name="PD"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<start name="test-platform" caps="12000">
|
|
<resource name="RAM" quantum="128M"/>}
|
|
|
|
append config "
|
|
<config check_pat=\"$check_pat\"/\>"
|
|
|
|
append config {
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
install_config $config
|
|
|
|
build_boot_image "core ld.lib.so init test-platform"
|
|
|
|
append qemu_args "-nographic -smp 2"
|
|
|
|
run_genode_until {Test finished} 200
|
|
|
|
puts "\nTest succeeded"
|