summaryrefslogtreecommitdiffstats
path: root/testsuite/lib/stap_run.exp
Commit message (Collapse)AuthorAgeFilesLines
* Fix procfs_write.exp so that it will pass under RHELl5.David Smith2010-02-021-0/+4
| | | | | | | * testsuite/systemtap.base/procfs_write.exp: Small changes for RHEL5 support. * testsuite/lib/stap_run.exp (stap_run): Increase maximum number of characters to match against.
* Add GCC version to testsuite run output and systemtap.sum file.Mark Wielaard2009-06-161-1/+2
| | | | | | | | | | | Prints the gcc being used and full version. Also adds short version number to systemtap.sum file (plus full version string). Will make comparing failures based on compiler version being used easier. * testsuite/lib/systemtap.exp (print_systemtap_version): Also print location and full version of gcc being used. (get_system_info): Get gcc version number and long version string. * testsuite/lib/stap_run.exp (print_system_info): Output GCC version.
* Make stap_run send_log of command to execute.Mark Wielaard2009-03-181-0/+1
| | | | * testsuite/lib/stap_run.exp (tap_run): Add send_log of cmd.
* Ignore new warning.David Smith2008-09-111-0/+1
| | | | | | 2008-09-11 David Smith <dsmith@redhat.com> * lib/stap_run.exp: Ignore new warning.
* Ensure that a systemtap server is available if 'server' is specifiedDave Brolley2008-07-291-1/+1
| | | | in EXTRA_TOOL_OPTS for 'make check' and 'make installcheck'
* Enable 'make check' and 'make installcheck' using the systemtap client/server.Dave Brolley2008-07-141-1/+1
|
* make "-p4 -m FOO" mode consistent with ordinary -p4Frank Ch. Eigler2008-06-131-1/+0
|
* Revert "testsuite: use catch{close}catch{wait} to ensure child process ↵Frank Ch. Eigler2008-05-281-1/+2
| | | | | | pipe/zombie cleanup" This reverts commit 7938bd829dfd82c40b35d536b5913e666c1454d2.
* testsuite: use catch{close}catch{wait} to ensure child process pipe/zombie ↵Frank Ch. Eigler2008-05-271-2/+1
| | | | cleanup
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-231-3/+11
| | | | | * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. Try harder to kill stap child in case of timeouts and errors.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-231-2/+3
| | | | | | | 2008-02-23 Frank Ch. Eigler <fche@elastic.org> * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order to more reliably kill an inferior stap/stapio/staprun process group.
* 2008-01-09 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-091-3/+8
| | | | | PR5544 * lib/stap_run.exp (stap_run): Support warning before ending probe.
* 2007-09-28 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-281-0/+11
| | | | | * lib/systemtap.exp: New proc get_system_info. * lib/stap_run.exp: New proc print_system_info.
* 2007-09-18 David Smith <dsmith@redhat.com>dsmith2007-09-181-0/+1
| | | | | | * systemtap.base/procfs.exp: New test case. * lib/stap_run.exp (stap_run): Handles the case where the stap '-m' option was used.
* 2007-08-16 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4591 * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow all the new variants with printd and println. * staptree.h (struct print_format): Add fields for the new print variants, and parse_print() to help matching. * staptree.cxx (print_format::parse_print): New static method to match the print variants and determine their properties. (print_format::print): Handle the new print types. (deep_copy_visitor::visit_print_format): Copy the new fields. * translate.cxx (c_unparser::visit_print_format): Insert delims and newlines where appropriate for new print functions. * stap1.in: Document the new print functions. testsuite/ * lib/stap_run.exp: Make sure to match the entire output, in case there are multiple pass/fail messages. * buildok/printf.stp: Add lines for new print variants. * parseko/printd01.stp: Make sure that bad printd calls are handled. * parseko/printd02.stp: Ditto. * parseko/printd03.stp: Ditto. * parseko/printd04.stp: Ditto. * systemtap.base/print.stp: Try a bunch of different print calls. * systemtap.base/print.exp: Driver for above.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-181-0/+1
| | | | | | | | | | | | | | | | | | From Quentin Barnes. * lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp, systemtap.base/cache.exp, systemtap.base/optim.exp, systemtap.base/overload.exp, systemtap.base/prologues.exp, systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp, systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp, systemtap.samples/args.exp, systemtap.samples/arith.exp, systemtap.samples/arith_limits.exp, systemtap.samples/control_limits.exp, systemtap.samples/lket.exp, systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp, systemtap.samples/primes.exp, systemtap.samples/profile.exp, systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp, systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp, systemtap.samples/transport.exp: Small fixes to patterns, plus fix timeouts for slower systems.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-251-5/+7
| | | | | | | | * systemtap.samples/lket.exp (cleanfiles): Set timeout inside expect. * systemtap.maps/absentstats.exp: Set timeout inside expect. * lib/stap_run2.exp (stap_run2): Set timeout to 180 inside expect. * lib/stap_run.exp (stap_run): Set timeout to 180 for slower machines. Remove $ anchor on output. Fix a few minor nits in patterns.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.
* 2006-12-07 Josh Stone <joshua.i.stone@intel.com>jistone2006-12-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | PR 3624. * tapsets.cxx (struct be_derived_probe): Add a new priority parameter for begin/end probes, and a comparison function for sorting. (be_builder::build): Parse the priority & pass it to be_derived_probe. (be_derived_probe_group::emit_module_init, emit_module_exit): Sort the probe list by priority before emitting any code. (register_standard_tapsets): Add new begin/end variants. * parse.cxx (parser::parse_literal): Allow negative numeric literals, by checking for a '-' unary operator right before a number. testsuite/ * systemtap.base/be_order.exp, systemtap.base/be_order.stp, semok/beginend.stp: New tests for begin/end priorities. * lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output. * systemtap.base/maxactive.exp: Fix to compare output to the end. * systemtap.base/probefunc.exp: Ditto. * systemtap.samples/ioblocktest.exp: Ditto. * systemtap.samples/ioblocktest.stp: Ditto. * systemtap.samples/tcptest.exp: Ditto.
* 2006-11-10 David Smith <dsmith@redhat.com>dsmith2006-11-101-1/+15
| | | | | | | | | | | * semko/maxactive03.stp: Stop on pass2 instead of on pass1. * lib/stap_run.exp: As a side-effect, stap_run() sets global 'probe_errors' and 'skipped_probes' to the number of probe errors and skipped probes seen while running the probe. * systemtap.base/maxactive.exp: Uses extended stap_run() to find number of skipped probes instead of using private stap_run() variant.
* 2006-10-23 David Smith <dsmith@redhat.com>dsmith2006-10-231-0/+2
| | | | | * lib/stap_run.exp: Handles cached module. * lib/stap_run2.exp: Ditto.
* 2006-08-21 Martin Hunt <hunt@redhat.com>hunt2006-08-211-1/+1
| | | | | | | | * lib/stap_run.exp: Check for existence of installtest_p before running it. This reenables running individual tests with runtest. * lib/stap_run2.exp: Ditto. * lib/stap_run_binary.exp: Ditto.
* 2006-08-12 Frank Ch. Eigler <fche@elastic.org>fche2006-08-121-0/+72
* configure.ac, Makefile.am: Descend into testsuite/ directory. Remove local test logic. * configure, Makefile.in: Regenerated. * runtest.sh: Not yet removed. * HACKING: Update for new testsuite layout. 2006-08-12 Frank Ch. Eigler <fche@elastic.org> * all: Reorganized old pass-1..4 tests one dejagnu bucket. Moved over old pass-5 tests, except for disabled syscalls tests. * Makefile (installcheck): New target for running pass-1..5 tests against installed systemtap.