summaryrefslogtreecommitdiffstats
path: root/testsuite/lib
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/lib
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/lib')
-rw-r--r--testsuite/lib/stap_compile.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/testsuite/lib/stap_compile.exp b/testsuite/lib/stap_compile.exp
index 35124a44..a206b7b1 100644
--- a/testsuite/lib/stap_compile.exp
+++ b/testsuite/lib/stap_compile.exp
@@ -12,6 +12,7 @@ proc stap_compile { TEST_NAME compile script args } {
expect {
-re {^Pass\ [1234]:[^\r]*\ in\ .*\ ms.\r\n} {exp_continue}
-re {^Pass\ [34]: using cached [^\r\n]+\r\n} {exp_continue}
+ -re "^WARNING" {exp_continue}
# pass-4 output
-re {^/[^\r\n]+.ko\r\n} {exp_continue}
-re "parse error" { incr compile_errors 1; exp_continue}