From 01c829fe9f5a670ba37a970c66723e8737fe0287 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Sat, 6 Mar 2010 13:08:22 -0800 Subject: Move semko/nineteen.stp to semok The *ko tests are for things that SHOULD fail, but semko/nineteen is a test that should pass but often doesn't (due to inline var trouble). It should be in semok to set the expectation properly. It does pass on F12 now, but if we want to silence the error for older gcc, setup_kfail is the right approach. --- testsuite/semko/nineteen.stp | 8 -------- testsuite/semok/thirtynine.stp | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100755 testsuite/semko/nineteen.stp create mode 100755 testsuite/semok/thirtynine.stp diff --git a/testsuite/semko/nineteen.stp b/testsuite/semko/nineteen.stp deleted file mode 100755 index 8f95d76b..00000000 --- a/testsuite/semko/nineteen.stp +++ /dev/null @@ -1,8 +0,0 @@ -#! stap -p2 - -# PR 1155: should start working when we can resolve the parameters of -# the inlines. - -probe kernel.function("context_switch") { - printf("switch from=0x%x to=0x%x\n", $prev, $next) -} diff --git a/testsuite/semok/thirtynine.stp b/testsuite/semok/thirtynine.stp new file mode 100755 index 00000000..a3b060cd --- /dev/null +++ b/testsuite/semok/thirtynine.stp @@ -0,0 +1,7 @@ +#! stap -p2 + +# PR 1155 discusses the trouble with inlines, but ideally this should work. + +probe kernel.function("context_switch") { + printf("switch from=0x%x to=0x%x\n", $prev, $next) +} -- cgit