gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from 10000.

single-step.exp takes a while to run, and while that's not necessarily
bad, here it's because the default value of SINGLE_STEP_COUNT is 10,000.
We're not going to gain any more insight into perf issues
single-stepping (stepi) 10,000 times over 1,000 times,
so this patch changes the default to 1,000.

gdb/testsuite/ChangeLog:

	* gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
	10000.
This commit is contained in:
Doug Evans 2015-08-03 09:21:09 -07:00
parent 3d3389010c
commit 4e1bdb00c6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-08-03 Doug Evans <dje@google.com>
* gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
10000.
2015-08-03 Doug Evans <dje@google.com>
* Makefile.in (workers/%.worker, build-perf): New rule.

View File

@ -29,7 +29,7 @@ set expfile $testfile.exp
# make check-perf RUNTESTFLAGS='single-step.exp SINGLE_STEP_COUNT=300'
if ![info exists SINGLE_STEP_COUNT] {
set SINGLE_STEP_COUNT 10000
set SINGLE_STEP_COUNT 1000
}
PerfTest::assemble {