sel4: adapt timeouts of run scripts

Issue #2451
This commit is contained in:
Alexander Boettcher 2017-08-14 08:19:24 +02:00 committed by Christian Helmuth
parent 5aab244ce3
commit 4020766105
22 changed files with 25 additions and 31 deletions

View File

@ -24,7 +24,7 @@ build_boot_image "core ld.lib.so init test-ada"
append qemu_args "-nographic "
run_genode_until {child "test-ada" exited with exit value 0.*} 10
run_genode_until {child "test-ada" exited with exit value 0.*} 20
grep_output {init -> test-ada}
unify_output {0x[0-9a-f]+} "UNIFIED"

View File

@ -31,5 +31,5 @@ build_boot_image "core ld.lib.so init test-ds_ownership"
append qemu_args "-nographic "
run_genode_until {.*test succeeded.*\n} 10
run_genode_until {.*test succeeded.*\n} 20

View File

@ -24,7 +24,7 @@ build_boot_image "core ld.lib.so init test-log"
append qemu_args "-nographic "
run_genode_until "Test done.*\n" 10
run_genode_until "Test done.*\n" 20
grep_output {\[init -\> test-log\]}

View File

@ -24,7 +24,7 @@ build_boot_image "core ld.lib.so init test-new_delete"
append qemu_args "-nographic "
run_genode_until "Test done.*\n" 15
run_genode_until "Test done.*\n" 20
grep_output {^\[init -> test-new_delete\]}
@ -80,5 +80,3 @@ compare_output_to {
[init -> test-new_delete] Allocator::free()
[init -> test-new_delete] exception caught
}
#puts "Test succeeded"

View File

@ -25,7 +25,7 @@ build_boot_image "core ld.lib.so init test-reconstructible"
append qemu_args "-nographic "
run_genode_until {.*--- Reconstructible utility test finished ---.*\n} 10
run_genode_until {.*--- Reconstructible utility test finished ---.*\n} 20
grep_output {-> test-reconstructible}

View File

@ -32,7 +32,7 @@ build_boot_image "core ld.lib.so init test-sub_rm"
append qemu_args "-nographic "
run_genode_until {.*--- end of sub-rm test ---.*} 10
run_genode_until {.*--- end of sub-rm test ---.*} 20
if {([have_spec linux] && [have_spec x86_32])} {
set maps [exec cat /proc/[exec pidof test-sub_rm]/maps]

View File

@ -25,7 +25,7 @@ build_boot_image "core ld.lib.so init test-synced_interface"
append qemu_args "-nographic "
run_genode_until {.*--- Synced interface test finished ---.*\n} 10
run_genode_until {.*--- Synced interface test finished ---.*\n} 20
grep_output {-> test-synced_interface}

View File

@ -38,7 +38,7 @@ build_boot_image "core ld.lib.so init test-util_mmio"
append qemu_args "-nographic "
run_genode_until "Test done.*\n" 10
run_genode_until "Test done.*\n" 20
#
# Conclusion

View File

@ -86,7 +86,7 @@ append qemu_args "-nographic "
set match_string "Test started. func: 0x(\[0-9a-f\]+).*\n"
run_genode_until "$match_string" 10
run_genode_until "$match_string" 20
regexp $match_string $output all func

View File

@ -36,7 +36,7 @@ build_boot_image $boot_modules
append qemu_args "-nographic "
run_genode_until {child ".*" exited with exit value 123.*\n} 10
run_genode_until {child ".*" exited with exit value 123.*\n} 20
# pay only attention to the output of init and its children
grep_output {^\[init }

View File

@ -1,4 +1,4 @@
build "core init drivers/timer test/libc_getenv"
build "core init test/libc_getenv"
create_boot_directory
@ -15,10 +15,6 @@ install_config {
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="100"/>
<start name="timer">
<resource name="RAM" quantum="2M"/>
<provides> <service name="Timer"/> </provides>
</start>
<start name="test-libc_getenv">
<resource name="RAM" quantum="4M"/>
<config>
@ -36,13 +32,13 @@ install_config {
}
build_boot_image {
core init timer test-libc_getenv
core init test-libc_getenv
ld.lib.so libc.lib.so libm.lib.so posix.lib.so
}
append qemu_args " -nographic "
run_genode_until "child .* exited with exit value 0.*\n" 10
run_genode_until "child .* exited with exit value 0.*\n" 20
grep_output {\[init -\> test-libc_getenv\]}

View File

@ -35,5 +35,5 @@ build_boot_image {
append qemu_args " -nographic "
run_genode_until "child .* exited with exit value 0.*\n" 10
run_genode_until "child .* exited with exit value 0.*\n" 20

View File

@ -17,7 +17,7 @@ install_config {
<default-route>
<any-service> <parent/> <any-child/> </any-service>
</default-route>
<default caps="120"/>
<default caps="130"/>
<start name="test-pthread">
<resource name="RAM" quantum="64M"/>
<config>
@ -35,4 +35,4 @@ build_boot_image {
append qemu_args " -nographic "
run_genode_until {--- returning from main ---.*\n} 10
run_genode_until {--- returning from main ---.*\n} 20

View File

@ -24,6 +24,6 @@ build_boot_image "core init test-rust ld.lib.so libc.lib.so libm.lib.so posix.li
append qemu_args "-nographic "
run_genode_until { 42 } 10
run_genode_until { 42 } 20
puts "Test succeeded"

View File

@ -33,4 +33,4 @@ build_boot_image {
append qemu_args " -nographic "
run_genode_until ".*test-stdcxx finished.*\n" 10
run_genode_until ".*test-stdcxx finished.*\n" 20

View File

@ -107,4 +107,4 @@ build_boot_image $boot_modules
# disable QEMU graphic to enable testing on our machines without SDL and X
append qemu_args "-nographic "
run_genode_until {.*--- Framebuffer benchmark finished ---.*\n} 30
run_genode_until {.*--- Framebuffer benchmark finished ---.*\n} 40

View File

@ -30,7 +30,7 @@ build_boot_image "core ld.lib.so init test-ram_fs_chunk"
append qemu_args "-nographic "
run_genode_until {.*--- RAM filesystem chunk test finished ---.*\n} 10
run_genode_until {.*--- RAM filesystem chunk test finished ---.*\n} 20
grep_output {^\[init -> test-ram_fs_chunk\]}
unify_output { sizeof=[0-9]+} {}

View File

@ -31,4 +31,4 @@ build_boot_image "core ld.lib.so init rom_blk test-rom_blk"
append qemu_args "-nographic "
run_genode_until {.*--- ROM Block test finished ---.*\n} 10
run_genode_until {.*--- ROM Block test finished ---.*\n} 20

View File

@ -79,6 +79,6 @@ build_boot_image "core ld.lib.so init timer tar_rom archive.tar"
append qemu_args "-nographic "
run_genode_until "--- timer test ---" 10
run_genode_until "--- timer test ---" 20
exec rm bin/archive.tar

View File

@ -32,4 +32,4 @@ build_boot_image "core ld.lib.so init timer test-thread_join"
append qemu_args "-nographic "
run_genode_until {.*--- Thread join test finished ---.*\n} 10
run_genode_until {.*--- Thread join test finished ---.*\n} 20

View File

@ -54,4 +54,4 @@ build_boot_image $boot_modules
append qemu_args " -nographic "
run_genode_until {.*--- Timed semaphore test finished ---.*\n} 10
run_genode_until {.*--- Timed semaphore test finished ---.*\n} 20

View File

@ -24,7 +24,7 @@ build_boot_image "core ld.lib.so init test-xml_node"
append qemu_args "-nographic "
run_genode_until {.*child "test-xml_node" exited with exit value 0.*\n} 10
run_genode_until {.*child "test-xml_node" exited with exit value 0.*\n} 20
# pay only attention to the output of init and its children
grep_output {^\[init \-\> test\-xml_node\]}