From 4e1bdb00c63a839037f31f005349c87702d50cfe Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Mon, 3 Aug 2015 09:21:09 -0700 Subject: [PATCH] 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. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.perf/single-step.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eab972489e0..0ab5535fe93 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-03 Doug Evans + + * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from + 10000. + 2015-08-03 Doug Evans * Makefile.in (workers/%.worker, build-perf): New rule. diff --git a/gdb/testsuite/gdb.perf/single-step.exp b/gdb/testsuite/gdb.perf/single-step.exp index d5aa7e2ea59..1b89145583d 100644 --- a/gdb/testsuite/gdb.perf/single-step.exp +++ b/gdb/testsuite/gdb.perf/single-step.exp @@ -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 { -- 2.30.2