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/global_end.stp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testsuite/systemtap.base/global_end.stp') diff --git a/testsuite/systemtap.base/global_end.stp b/testsuite/systemtap.base/global_end.stp index 876eac8c..4a5baff7 100644 --- a/testsuite/systemtap.base/global_end.stp +++ b/testsuite/systemtap.base/global_end.stp @@ -31,7 +31,7 @@ probe begin { epsilon["two",2] <<< 40 } -probe timer.ms(2000) { +probe timer.ms(100) { exit () } -- cgit