summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/cache.exp
diff options
context:
space:
mode:
authorDavid Smith <dsmith@redhat.com>2008-08-07 10:20:13 -0500
committerDavid Smith <dsmith@redhat.com>2008-08-07 10:20:13 -0500
commit32637fcca7e457d258c08415b87e94bb2d102bc0 (patch)
treeecdd60e7aa8fb65cc3dfe31861d001de44e99aa3 /testsuite/systemtap.base/cache.exp
parent940b7aa56b9c2e371d8a00c6e179ab2e9b4268ba (diff)
downloadsystemtap-steved-32637fcca7e457d258c08415b87e94bb2d102bc0.tar.gz
systemtap-steved-32637fcca7e457d258c08415b87e94bb2d102bc0.tar.xz
systemtap-steved-32637fcca7e457d258c08415b87e94bb2d102bc0.zip
'stap_compile' test procedure now ignores warnings
2008-08-07 David Smith <dsmith@redhat.com> * systemtap.base/utrace_p4.exp: Uses lib/stap_compile.exp instead of its own stap_compile procedure. * systemtap.base/cache.exp (stap_compile): Ignores warnings. * lib/stap_compile.exp: Ignores warnings.
Diffstat (limited to 'testsuite/systemtap.base/cache.exp')
-rw-r--r--testsuite/systemtap.base/cache.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/cache.exp b/testsuite/systemtap.base/cache.exp
index f7ed2786..390af054 100644
--- a/testsuite/systemtap.base/cache.exp
+++ b/testsuite/systemtap.base/cache.exp
@@ -30,6 +30,7 @@ proc stap_compile { TEST_NAME flags script args } {
-timeout 180
-re {^Pass\ [1234]:[^\r]*\ in\ [^\r]*\ ms\.\r\n} {exp_continue}
-re {^Pass\ [34]: using cached [^\r\n]+\r\n} {incr cached 1; exp_continue}
+ -re "^WARNING" {exp_continue}
# pass-4 output
-re {^/[^\r\n]+\.ko\r\n} {exp_continue}
-re "compilation failed" {incr compile_errors 1; exp_continue}