summaryrefslogtreecommitdiffstats
path: root/testsuite/parseok/fourteen.stp
diff options
context:
space:
mode:
authorfche <fche>2005-11-24 22:45:52 +0000
committerfche <fche>2005-11-24 22:45:52 +0000
commit44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4 (patch)
tree27bc17286b34736e821dc7221a5dd11969ef87c0 /testsuite/parseok/fourteen.stp
parentded98b334e86a6f6aed6a30a20b67aecc0ae1bf4 (diff)
downloadsystemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.tar.gz
systemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.tar.xz
systemtap-steved-44ce8ed5cb963d4cb6bf085d7ee60b90afdb93f4.zip
2005-11-24 Frank Ch. Eigler <fche@redhat.com>
PR 1903 * parse.cxx (eval_pp_conditional): Support %( arch == "i686" %) form. * stap.1.in: Document it. * testsuite/parseok/fourteen.stp: Test it. * session.h (architecture): New field. * main.cxx (main): Initialize it.
Diffstat (limited to 'testsuite/parseok/fourteen.stp')
-rwxr-xr-xtestsuite/parseok/fourteen.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/parseok/fourteen.stp b/testsuite/parseok/fourteen.stp
index e68aa4fe..cc51b90b 100755
--- a/testsuite/parseok/fourteen.stp
+++ b/testsuite/parseok/fourteen.stp
@@ -8,3 +8,10 @@ global
%: "FAIL2" %)
%: "FAIL3" %)
%: "FAIL4" %)
+
+global
+%( arch == "i386" %? i386
+%: %( arch == "i686" %? i686
+ %: %( arch != "x86_64" %? other %: x86_64 %)
+ %)
+%)