]> sourceware.org Git - systemtap.git/commit
testsuite infrastructure: change stap_run api
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 16 Jan 2017 15:24:45 +0000 (10:24 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 16 Jan 2017 15:24:45 +0000 (10:24 -0500)
commit344478fec2619d4e787d5a2687cfed5d4f02220f
tree50af4319633be6d2af4af80eca7fcf2cca5ad852
parenta226065401dea9e3fdc9632ce12e4da1d0d69b04
testsuite infrastructure: change stap_run api

Formerly, the stap_run tcl proc accepted a target stap script file
name both as its first argument, as well as in the general stap
argument list at the end.  It passed the former name as an extra file
name iff it existed in the $srcdir/$testdir.  Some tests happened to
use test names that matched files, so triggered this stap_run
heuristic, even if the .stp files were specified some other way.  This
led to extra stap arguments, leading to "unused $0/@0 ..."  warnings,
leading to test failures.

Now, stap_run never does anything clever with its first parameter - it
just uses it to construct the dejagnu test case id/name.  The .stp
file name (if any - if not using -e SCRIPT for example) is now
expected to be included by the testcase.exp as arguments at the end.
45 files changed:
testsuite/lib/stap_run.exp
testsuite/lib/stap_run2.exp
testsuite/systemtap.base/add.exp
testsuite/systemtap.base/alias-condition.exp
testsuite/systemtap.base/alias-epilog.exp
testsuite/systemtap.base/alias-prolog.exp
testsuite/systemtap.base/alias_suffixes.exp
testsuite/systemtap.base/arith.exp
testsuite/systemtap.base/arith_limits.exp
testsuite/systemtap.base/array_size.exp
testsuite/systemtap.base/be_order.exp
testsuite/systemtap.base/beginenderror.exp
testsuite/systemtap.base/bitfield.exp
testsuite/systemtap.base/break_and_continue.exp
testsuite/systemtap.base/deref.exp
testsuite/systemtap.base/div0.exp
testsuite/systemtap.base/equal.exp
testsuite/systemtap.base/error_fn.exp
testsuite/systemtap.base/finloop2.exp
testsuite/systemtap.base/func_definition.exp
testsuite/systemtap.base/global_init.exp
testsuite/systemtap.base/global_vars.exp
testsuite/systemtap.base/if.exp
testsuite/systemtap.base/inc.exp
testsuite/systemtap.base/inlinedvars.exp
testsuite/systemtap.base/kfunct.exp
testsuite/systemtap.base/kmodule.exp
testsuite/systemtap.base/kprobes.exp
testsuite/systemtap.base/kretprobe-vars.exp
testsuite/systemtap.base/logical_and.exp
testsuite/systemtap.base/not.exp
testsuite/systemtap.base/optim_voidstmt.exp
testsuite/systemtap.base/print.exp
testsuite/systemtap.base/pt_user_mode.exp
testsuite/systemtap.base/set_kernel.exp
testsuite/systemtap.base/sigusr2.exp
testsuite/systemtap.base/simple.exp
testsuite/systemtap.base/timers.exp
testsuite/systemtap.base/tri.exp
testsuite/systemtap.base/try_assign.exp
testsuite/systemtap.base/var_scope.exp
testsuite/systemtap.printf/memory1.exp
testsuite/systemtap.printf/print_user_buffer.exp
testsuite/systemtap.samples/tcptest.exp
testsuite/systemtap.stress/current.exp
This page took 0.037803 seconds and 5 git commands to generate.