From 32637fcca7e457d258c08415b87e94bb2d102bc0 Mon Sep 17 00:00:00 2001 From: David Smith Date: Thu, 7 Aug 2008 10:20:13 -0500 Subject: 'stap_compile' test procedure now ignores warnings 2008-08-07 David Smith * 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. --- testsuite/lib/stap_compile.exp | 1 + 1 file changed, 1 insertion(+) (limited to 'testsuite/lib') 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} -- cgit