@@ -1680,6 +1680,11 @@
@item 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
Test system runs executables on a simulator (i.e. slowly) rather than
hardware (i.e. fast).
@@ -1,4 +1,5 @@
/* { 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 PAR2 PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1, PAR1
@@ -3579,3 +3579,12 @@
}
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
+}