blob: ab9ada7a08a4b2c5b77a5e7bc214a5b67aef2dde [file] [log] [blame]
sewardj3b290482011-05-06 21:02:55 +00001# test that vgdb can invoke a process when all threads are in Runnable or Yielding mode
2# If the test goes wrong, it might consume CPU during a long time.
3prog: sleepers
Elliott Hughesed398002017-06-21 14:41:24 -07004args: 1 0 1000000000 B-B-B-B- 1
sewardj3b290482011-05-06 21:02:55 +00005vgopts: --tool=memcheck --vgdb=yes --vgdb-prefix=./vgdb-prefix-mcinvokeRU
6stderr_filter: filter_make_empty
philippe3c761f02013-12-01 14:56:28 +00007# as the Valgrind process is always busy, we do not need the vgdb.invoker prereq.
8# We even disable invoker to avoid spurious attach error message
floriane6a3e042011-10-09 19:58:19 +00009# on kernels where ptrace is restricted.
sewardj3b290482011-05-06 21:02:55 +000010progB: invoker
floriane6a3e042011-10-09 19:58:19 +000011argsB: 10 --vgdb-prefix=./vgdb-prefix-mcinvokeRU --max-invoke-ms=0 --wait=60 -c v.wait 0
sewardj3b290482011-05-06 21:02:55 +000012# if the --wait is not enough, the test will fail or block.
13stdoutB_filter: filter_memcheck_monitor
14stderrB_filter: filter_vgdb