1 # test inferior calls when some threads are in Runnable or Yielding mode, 2 # some threads are in WaitSys. 3 prog: sleepers 4 # We would like to have two threads running (i.e. -S-SB-B-) 5 # but this introduces too much dependencies to scheduler fairness. 6 args: 100 100000000 1000000000 -S-S-SB- 7 vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcinfcallWSRU 8 # We need a non buggy gdb.step on arm thumb. 9 # Disable on Darwin: inferior call rejected as it cannot find malloc. 10 prereq: test -e gdb -a -f gdb.step && ../tests/os_test linux 11 # filter_gdb to replace pid and Thread numbers in the output of the program: 12 stderr_filter: filter_gdb 13 progB: gdb 14 argsB: --quiet -l 60 --nx 1>&2 ./sleepers 15 stdinB: mcinfcallWSRU.stdinB.gdb 16 stderrB_filter: filter_gdb 17