This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/19537] New: the parseok/semko.stp test case always fails


https://sourceware.org/bugzilla/show_bug.cgi?id=19537

            Bug ID: 19537
           Summary: the parseok/semko.stp test case always fails
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

The parseok/semko.stp test case is really a shell script that tries to parse
all the semko test files, to ensure that it is semantic (elaboration) checks
that fail, not parse errors. So, it runs 'stap -p1' on all the semko tests.
But, this isn't quite enough and the test always fails. Here's the tail of
systemtap.log:

====
parse error: embedded expression code in unprivileged script; need stap -g
        saw: embedded-code at
/root/rhel6/testsuite/../../src.copy/testsuite/../testsuite/semko/global_access.stp:8:11
     source:   println(%{ /* pragma:read:var */ STAP_GLOBAL_GET_var() %})
                       ^^
====

So, the test fails because semko/global_access.stp needs '-g', not because the
script can't be parsed. In addition, the test appears to stop on the first
failure, instead of checking the rest of the semko scripts.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]