From 1b504c3f7901ea851cd891b1fea2295736606884 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 13 Sep 2009 22:22:05 +0200 Subject: Replace small exelib.exp testcases with one jumbo testcase. Merge lib, mark, uname and ustack stp and tcl scripts into one large libmarkunamestack stp and tcl script. But keep the individual tests in case the large test fails and one wants to debug the individual steps. Takes test time for exelib.exp down from 700 seconds to 200 seconds. * testsuite/systemtap.exelib/libmarkunamestack.stp: New large stp script. * testsuite/systemtap.exelib/libmarkunamestack.tcl: New large tcl script. * testsuite/systemtap.exelib/exelib.exp: Use libmarkunamestack. --- testsuite/systemtap.exelib/exelib.exp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'testsuite/systemtap.exelib/exelib.exp') diff --git a/testsuite/systemtap.exelib/exelib.exp b/testsuite/systemtap.exelib/exelib.exp index bd9c687e..ab7f5efb 100644 --- a/testsuite/systemtap.exelib/exelib.exp +++ b/testsuite/systemtap.exelib/exelib.exp @@ -2,7 +2,11 @@ # (with gcc/g++, -O0/-O3, prelinked/pie, seperate debuginfo) # Then runs tests with a list of execs. -set subtestlist {lib mark uname ustack cleanup} +# Don't enable all sub-tests by default, enable them separately when +# you want to track down an issue. +# Enable just the all-in-one test for regular test runs to safe time +#set subtestlist {lib mark uname ustack cleanup} +set subtestlist {libmarkunamestack cleanup} proc seperate_debuginfo {elffile} { set objcopy [list "objcopy" "--only-keep-debug"] -- cgit From bfc99f57e8a6bc2f217a14f01a1bb4ff4620881b Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Sun, 13 Sep 2009 22:31:37 +0200 Subject: Only test highest optimization for exelib.exp test. There is not much to gain from testing low and high optimized programs. So only test highest optimization level. Half test time from 200 to 100 sec. * testsuite/systemtap.exelib/exelib.exp: Set opt to list containing just -O3. --- testsuite/systemtap.exelib/exelib.exp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/systemtap.exelib/exelib.exp') diff --git a/testsuite/systemtap.exelib/exelib.exp b/testsuite/systemtap.exelib/exelib.exp index ab7f5efb..1337d545 100644 --- a/testsuite/systemtap.exelib/exelib.exp +++ b/testsuite/systemtap.exelib/exelib.exp @@ -48,9 +48,9 @@ foreach arch $arches { # and exploded the test search case a bit. foreach compiler {gcc} { # Add g++ - # Just try -O0 and -O3. - # Adding -O, -O2, -Os and mixing lib/exe is a bit overdone - foreach opt {-O0 -O3} { + # Just try -O3. + # Adding -O0, -O, -O2, -Os and mixing lib/exe is a bit overdone + foreach opt {-O3} { foreach libprelink {no yes} { -- cgit