load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .c
set executable $testfile
# some large functions in GDB.
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
global GDB
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-null-lookup.py NullLookup
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-pervasive-typedef.py PervasiveTypedef
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-print-cerr.py PrintCerr
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-ptype-string.py GmonsterPtypeString
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-runto-main.py GmonsterRuntoMain
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster1.exp make_testcase_config gmonster-select-file.py GmonsterSelectFile
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
if ![info exists MONSTER] {
set MONSTER "n"
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-null-lookup.py NullLookup
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-pervasive-typedef.py PervasiveTypedef
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-print-cerr.py PrintCerr
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-ptype-string.py GmonsterPtypeString
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-runto-main.py GmonsterRuntoMain
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
GenPerfTest::standard_run_driver gmonster2.exp make_testcase_config gmonster-select-file.py GmonsterSelectFile
load_lib perftest.exp
load_lib gen-perf-test.exp
-require !skip_perf_tests
+require allow_perf_tests
if ![info exists MONSTER] {
set MONSTER "n"
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .c
set executable $testfile
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .cc skip-funcs.cc
set executable $testfile
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .c
set executable $testfile
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .c
set executable $testfile
load_lib perftest.exp
-require !skip_perf_tests
+require allow_perf_tests
standard_testfile .cc
set executable $testfile
}
}
-# Return true if performance tests are skipped.
+# Return true if performance tests are to be run.
-proc skip_perf_tests { } {
+proc allow_perf_tests { } {
global GDB_PERFTEST_MODE
if [info exists GDB_PERFTEST_MODE] {
&& "$GDB_PERFTEST_MODE" != "run"
&& "$GDB_PERFTEST_MODE" != "both" } {
error "Unknown value of GDB_PERFTEST_MODE."
- return 1
+ return 0
}
- return 0
+ return 1
}
- return 1
+ return 0
}
# Given a list of tcl strings, return the same list as the text form of a