mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
66e9ca12b5
Issue #2100
43 lines
765 B
Plaintext
43 lines
765 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="PD"/>
|
|
<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 -smp 2"
|
|
|
|
run_genode_until {Test finished} 150
|
|
|
|
puts "\nTest succeeded"
|