2024-06-03 09:14:49 +00:00
|
|
|
build { core init lib/ld test/nova }
|
2015-01-02 19:16:49 +00:00
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
set check_pat 1
|
|
|
|
if {[have_include power_on/qemu]} {
|
|
|
|
set check_pat 0
|
|
|
|
}
|
|
|
|
|
2017-10-12 15:11:02 +00:00
|
|
|
if {[get_cmd_switch --autopilot] && [have_spec x86_32]} {
|
|
|
|
# Disable test for our outdated nighly test machine for 32bit
|
|
|
|
set check_pat 0
|
|
|
|
}
|
|
|
|
|
2015-01-02 19:16:49 +00:00
|
|
|
create_boot_directory
|
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
set config {
|
2015-01-02 19:16:49 +00:00
|
|
|
<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>
|
2024-06-03 09:14:49 +00:00
|
|
|
<start name="test-nova" caps="12350" ld="no">
|
2017-05-07 20:36:11 +00:00
|
|
|
<resource name="RAM" quantum="128M"/>}
|
2015-08-25 13:20:54 +00:00
|
|
|
|
|
|
|
append config "
|
|
|
|
<config check_pat=\"$check_pat\"/\>"
|
|
|
|
|
|
|
|
append config {
|
2015-01-02 19:16:49 +00:00
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
}
|
|
|
|
|
2015-08-25 13:20:54 +00:00
|
|
|
install_config $config
|
|
|
|
|
2023-05-04 12:11:51 +00:00
|
|
|
build_boot_image [build_artifacts]
|
2015-01-02 19:16:49 +00:00
|
|
|
|
2017-05-23 13:05:55 +00:00
|
|
|
append qemu_args "-nographic -smp 2"
|
2015-01-02 19:16:49 +00:00
|
|
|
|
2017-11-02 12:46:35 +00:00
|
|
|
run_genode_until {Test finished} 240
|
2015-01-02 19:16:49 +00:00
|
|
|
|
|
|
|
puts "\nTest succeeded"
|