mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
6776d6c9a8
Issue #1566
45 lines
811 B
Plaintext
45 lines
811 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="RAM"/>
|
|
<service name="CPU"/>
|
|
<service name="RM"/>
|
|
<service name="CAP"/>
|
|
<service name="PD"/>
|
|
<service name="SIGNAL"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
<default-route>
|
|
<any-service> <parent/> </any-service>
|
|
</default-route>
|
|
<start name="test-platform">
|
|
<resource name="RAM" quantum="96M"/>}
|
|
|
|
append config "
|
|
<config check_pat=\"$check_pat\"/\>"
|
|
|
|
append config {
|
|
</start>
|
|
</config>
|
|
}
|
|
|
|
install_config $config
|
|
|
|
build_boot_image "core init test-platform"
|
|
|
|
append qemu_args "-nographic -m 128"
|
|
|
|
run_genode_until {Test finished} 150
|
|
|
|
puts "\nTest succeeded"
|