sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 1 | # 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. |
| 3 | prog: sleepers |
Elliott Hughes | ed39800 | 2017-06-21 14:41:24 -0700 | [diff] [blame] | 4 | args: 1 0 1000000000 B-B-B-B- 1 |
sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 5 | vgopts: --tool=memcheck --vgdb=yes --vgdb-prefix=./vgdb-prefix-mcinvokeRU |
| 6 | stderr_filter: filter_make_empty |
philippe | 3c761f0 | 2013-12-01 14:56:28 +0000 | [diff] [blame] | 7 | # 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 |
florian | e6a3e04 | 2011-10-09 19:58:19 +0000 | [diff] [blame] | 9 | # on kernels where ptrace is restricted. |
sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 10 | progB: invoker |
florian | e6a3e04 | 2011-10-09 19:58:19 +0000 | [diff] [blame] | 11 | argsB: 10 --vgdb-prefix=./vgdb-prefix-mcinvokeRU --max-invoke-ms=0 --wait=60 -c v.wait 0 |
sewardj | 3b29048 | 2011-05-06 21:02:55 +0000 | [diff] [blame] | 12 | # if the --wait is not enough, the test will fail or block. |
| 13 | stdoutB_filter: filter_memcheck_monitor |
| 14 | stderrB_filter: filter_vgdb |