This changes some tests to use "require skip_perf_tests".
---
gdb/testsuite/gdb.perf/backtrace.exp | 4 +---
gdb/testsuite/gdb.perf/disassemble.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-null-lookup.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-pervasive-typedef.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-print-cerr.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-ptype-string.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-runto-main.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1-select-file.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster1.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-null-lookup.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-pervasive-typedef.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-print-cerr.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-ptype-string.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-runto-main.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2-select-file.exp | 4 +---
gdb/testsuite/gdb.perf/gmonster2.exp | 4 +---
gdb/testsuite/gdb.perf/single-step.exp | 4 +---
gdb/testsuite/gdb.perf/skip-command.exp | 4 +---
gdb/testsuite/gdb.perf/skip-prologue.exp | 4 +---
gdb/testsuite/gdb.perf/solib.exp | 4 +---
gdb/testsuite/gdb.perf/template-breakpoints.exp | 4 +---
21 files changed, 21 insertions(+), 63 deletions(-)
@@ -21,9 +21,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .c
set executable $testfile
@@ -17,9 +17,7 @@
# some large functions in GDB.
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
global GDB
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-null-lookup.py NullLookup
@@ -21,8 +21,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-pervasive-typedef.py PervasiveTypedef
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-print-cerr.py PrintCerr
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-ptype-string.py GmonsterPtypeString
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-runto-main.py GmonsterRuntoMain
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-select-file.py GmonsterSelectFile
@@ -36,9 +36,7 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
if ![info exists MONSTER] {
set MONSTER "n"
@@ -20,8 +20,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-null-lookup.py NullLookup
@@ -21,8 +21,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-pervasive-typedef.py PervasiveTypedef
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-print-cerr.py PrintCerr
@@ -20,8 +20,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-ptype-string.py GmonsterPtypeString
@@ -19,8 +19,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-runto-main.py GmonsterRuntoMain
@@ -20,8 +20,6 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-select-file.py GmonsterSelectFile
@@ -36,9 +36,7 @@
load_lib perftest.exp
load_lib gen-perf-test.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
if ![info exists MONSTER] {
set MONSTER "n"
@@ -19,9 +19,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .c
set executable $testfile
@@ -25,9 +25,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .cc skip-funcs.cc
set executable $testfile
@@ -21,9 +21,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .c
set executable $testfile
@@ -24,9 +24,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .c
set executable $testfile
@@ -21,9 +21,7 @@
load_lib perftest.exp
-if [skip_perf_tests] {
- return 0
-}
+require !skip_perf_tests
standard_testfile .cc
set executable $testfile