summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-08-12 02:05:33 +0100
committerSam James <sam@gentoo.org>2024-08-12 02:19:29 +0100
commit5ea011f3d6691b8093be519474d3303ea388f260 (patch)
treed01f8c043c038ab74e6f45d8dd8a8402cd36828b /eclass
parentgames-simulation/flightgear: mark as LTO-unsafe (diff)
downloadgentoo-5ea011f3d6691b8093be519474d3303ea388f260.tar.gz
gentoo-5ea011f3d6691b8093be519474d3303ea388f260.tar.bz2
gentoo-5ea011f3d6691b8093be519474d3303ea388f260.zip
toolchain.eclass: add comment re GCC_TEST_RUN_EXPENSIVE
Make clear it's not a typo as it comes from gcc's testsuite (could look like an accidental 'TEST' instead of 'TESTS' like the eclassvars we use for tests.) Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 984c37a3fa73..b2d4692bc2e1 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1920,6 +1920,8 @@ toolchain_src_test() {
local -x LD_PRELOAD=
# Controls running expensive tests in e.g. the torture testsuite.
+ # Note that 'TEST', not 'TESTS', is correct here as it's a GCC
+ # testsuite variable, not ours.
local -x GCC_TEST_RUN_EXPENSIVE=1
# Use a subshell to allow meddling with flags just for the testsuite