Commit 0fa3d594 by Rainer Orth Committed by Rainer Orth

sourcebuild.texi (Effective-Target Keywords): Document run_expensive_tests.

	gcc:
	* doc/sourcebuild.texi (Effective-Target Keywords): Document
	run_expensive_tests.

	gcc/testsuite:
	* lib/target-supports.exp
	(check_effective_target_run_expensive_tests): New proc.
	* gcc.c-torture/compile/limits-fnargs.c: Use
	dg-require-effective-target run_expensive_tests.

From-SVN: r164012
parent 86923f6e
2010-09-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> 2010-09-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* doc/sourcebuild.texi (Effective-Target Keywords): Document
run_expensive_tests.
2010-09-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* toplev.c (output_stack_usage): Use lbasename instead of * toplev.c (output_stack_usage): Use lbasename instead of
basename. basename.
......
...@@ -1680,6 +1680,11 @@ Target can compile using @code{pthread.h} with no errors or warnings. ...@@ -1680,6 +1680,11 @@ Target can compile using @code{pthread.h} with no errors or warnings.
@item pthread_h @item pthread_h
Target has @code{pthread.h}. Target has @code{pthread.h}.
@item run_expensive_tests
Expensive testcases (usually those that consume excessive amounts of CPU
time) should be run on this target. This can be enabled by setting the
@env{GCC_TEST_RUN_EXPENSIVE} environment variable to a non-empty string.
@item simulator @item simulator
Test system runs executables on a simulator (i.e. slowly) rather than Test system runs executables on a simulator (i.e. slowly) rather than
hardware (i.e. fast). hardware (i.e. fast).
......
2010-09-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* lib/target-supports.exp
(check_effective_target_run_expensive_tests): New proc.
* gcc.c-torture/compile/limits-fnargs.c: Use
dg-require-effective-target run_expensive_tests.
2010-09-08 Jakub Jelinek <jakub@redhat.com> 2010-09-08 Jakub Jelinek <jakub@redhat.com>
PR fortran/45597 PR fortran/45597
......
/* { dg-timeout-factor 4.0 } */ /* { dg-timeout-factor 4.0 } */
/* { dg-require-effective-target run_expensive_tests } */
#define PAR1 int, int, int, int, int, int, int, int, int, int #define PAR1 int, int, int, int, int, int, int, int, int, int
#define PAR2 PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1 #define PAR2 PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1
......
...@@ -3579,3 +3579,12 @@ proc check_effective_target_c++ { } { ...@@ -3579,3 +3579,12 @@ proc check_effective_target_c++ { } {
} }
return 0 return 0
} }
# Return 1 if expensive testcases should be run.
proc check_effective_target_run_expensive_tests { } {
if { [getenv GCC_TEST_RUN_EXPENSIVE] != "" } {
return 1
}
return 0
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment