commit:     5ea011f3d6691b8093be519474d3303ea388f260
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 12 01:05:33 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Aug 12 01:19:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea011f3

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 <AT> gentoo.org>

 eclass/toolchain.eclass | 2 ++
 1 file changed, 2 insertions(+)

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

Reply via email to