summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorGabi Falk <gabifalk@gmx.com>2024-04-13 08:00:00 +0000
committerSam James <sam@gentoo.org>2024-04-16 02:38:47 +0100
commit05e717935070724efb622f17ef8d60c68a75c4b4 (patch)
treec2b95b56f6fe29b74a1ac3fbd3b432a71e58a3b8 /eclass
parentnet-misc/putty: Stabilize 0.81 ppc64, #930083 (diff)
downloadgentoo-05e717935070724efb622f17ef8d60c68a75c4b4.tar.gz
gentoo-05e717935070724efb622f17ef8d60c68a75c4b4.tar.bz2
gentoo-05e717935070724efb622f17ef8d60c68a75c4b4.zip
toolchain.eclass: do not ignore a baseline with GCC_TESTS_IGNORE_NO_BASELINE
The GCC_TESTS_IGNORE_NO_BASELINE flag is intended to facilitate the initial generation of a baseline file, but it shouldn't affect the behavior if a baseline file already exists. Fixes: 1d93a491096f1cc0234fcf44458bfec142c213bb ("toolchain.eclass: rework tests more") Signed-off-by: Gabi Falk <gabifalk@gmx.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0708d3c217fc..37a806e1c800 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1908,7 +1908,7 @@ toolchain_src_test() {
# the exit code of targets other than 'check' may be unreliable.
nonfatal emake -C "${WORKDIR}"/build -k "${GCC_TESTS_CHECK_TARGET}" RUNTESTFLAGS="${GCC_TESTS_RUNTESTFLAGS}"
- if [[ -z ${GCC_TESTS_IGNORE_NO_BASELINE} && -f "${GCC_TESTS_COMPARISON_DIR}/${GCC_TESTS_COMPARISON_SLOT}/${CHOST}.xfail" ]] ; then
+ if [[ -f "${GCC_TESTS_COMPARISON_DIR}/${GCC_TESTS_COMPARISON_SLOT}/${CHOST}.xfail" ]] ; then
# TODO: Distribute some baseline results in e.g. gcc-patches.git?
# validate_failures.py manifest files support include directives.
einfo "Comparing with previous cached results at GCC_TESTS_COMPARISON_DIR=${GCC_TESTS_COMPARISON_DIR}/${GCC_TESTS_COMPARISON_SLOT}/${CHOST}.xfail"