genode/repos/os/run/weak_ptr.run
Stefan Kalkowski c951c30d8a base: extend weak pointer test (Ref #1607)
Add a test where a locked pointer shall be taken during object destruction.
Moreover, extend the run-script so it runs on different platforms with
"real" timers.
2015-07-07 19:48:06 +02:00

40 lines
897 B
Plaintext

build "core init drivers/timer test/weak_ptr"
create_boot_directory
install_config {
<config>
<parent-provides>
<service name="ROM"/>
<service name="LOG"/>
<service name="CAP"/>
<service name="CPU"/>
<service name="RAM"/>
<service name="RM"/>
<service name="PD"/>
<service name="IRQ"/>
<service name="IO_MEM"/>
<service name="IO_PORT"/>
<service name="SIGNAL"/>
</parent-provides>
<default-route>
<any-service> <any-child/> <parent/> </any-service>
</default-route>
<start name="timer">
<resource name="RAM" quantum="1M"/>
<provides><service name="Timer"/></provides>
</start>
<start name="test-weak_ptr">
<resource name="RAM" quantum="10M"/>
</start>
</config>
}
build_boot_image "core init timer test-weak_ptr"
append qemu_args "-nographic -m 64"
run_genode_until "--- finished test-weak_ptr ---.*\n" 30
puts "Test succeeded"