From 2f41f39496d9f9f82947eeebd169a8aa9db8245a Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sat, 19 Sep 2009 19:14:33 +0200 Subject: Use less idle time in testsuite. A lot of tests wait, sleep or use a timer for multiple seconds when that is not necessary. Reduce the time waited so save test time. * testsuite/systemtap.base/backtrace.stp: Exit after 100ms. * testsuite/systemtap.base/badkprobe.exp: Likewise. * testsuite/systemtap.base/global_end.stp: Likewise. * testsuite/systemtap.base/itrace.exp: Wait 1 sec instead of 5 for each test. * testsuite/systemtap.base/maxactive.exp: Likewise. * testsuite/systemtap.base/onoffprobe.exp: Match and use modname, so build script can be cached. * testsuite/systemtap.base/onoffprobe.stp: Wait miliseconds instead of seconds in each alias. Output module_name. * testsuite/systemtap.base/poll_map.stp: Start after 100ms. --- testsuite/systemtap.base/poll_map.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.base/poll_map.stp') diff --git a/testsuite/systemtap.base/poll_map.stp b/testsuite/systemtap.base/poll_map.stp index e278fc91..3070f442 100755 --- a/testsuite/systemtap.base/poll_map.stp +++ b/testsuite/systemtap.base/poll_map.stp @@ -9,7 +9,7 @@ probe kernel.function( "vfs_*" ).call { called[execname(),probefunc()]++ } -probe timer.ms(1000) +probe timer.ms(100) { print("\n\n") num_to_do = 10 -- cgit