]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Format gotools.sum closer to what DejaGnu does
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Thu, 2 Nov 2023 12:40:10 +0000 (12:40 +0000)
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
Fri, 3 Nov 2023 14:45:44 +0000 (14:45 +0000)
... to restore compatability with validate_failures.py .
The testsuite script validate_failures.py expects
"Running <sub-testsuite> ..." to extract <sub-testsuite> values,
and gotools.sum provided "Running <sub-testsuite>".

Note that libgo.sum, which also uses Makefile logic to generate
DejaGnu-like output, already has "..." suffix.

gotools/ChangeLog:

* Makefile.am: Update "Running <sub-testsuite> ..." output
* Makefile.in: Regenerate.

Signed-off-by: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
gotools/Makefile.am
gotools/Makefile.in

index 7b5302990f83985aa426d13f3cd30ac8aa5bd999..d2376b9c25b7fcd604126433a62cae3380edaa90 100644 (file)
@@ -332,8 +332,8 @@ check: check-head check-go-tool check-runtime check-cgo-test check-carchive-test
        @cp gotools.sum gotools.log
        @for file in cmd_go-testlog runtime-testlog cgo-testlog carchive-testlog cmd_vet-testlog embed-testlog; do \
          testname=`echo $${file} | sed -e 's/-testlog//' -e 's|_|/|'`; \
-         echo "Running $${testname}" >> gotools.sum; \
-         echo "Running $${testname}" >> gotools.log; \
+         echo "Running $${testname} ..." >> gotools.sum; \
+         echo "Running $${testname} ..." >> gotools.log; \
          sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' < $${file} >> gotools.log; \
          grep '^--- ' $${file} | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' -e 's/SKIP/UNTESTED/' | sort -k 2 >> gotools.sum; \
        done
index 2783b91ef4be4d9acf676acb3a48a14c0d0879e9..36c2ec2abd38e0e686ad4f480c2415e5afb2a815 100644 (file)
@@ -1003,8 +1003,8 @@ mostlyclean-local:
 @NATIVE_TRUE@  @cp gotools.sum gotools.log
 @NATIVE_TRUE@  @for file in cmd_go-testlog runtime-testlog cgo-testlog carchive-testlog cmd_vet-testlog embed-testlog; do \
 @NATIVE_TRUE@    testname=`echo $${file} | sed -e 's/-testlog//' -e 's|_|/|'`; \
-@NATIVE_TRUE@    echo "Running $${testname}" >> gotools.sum; \
-@NATIVE_TRUE@    echo "Running $${testname}" >> gotools.log; \
+@NATIVE_TRUE@    echo "Running $${testname} ..." >> gotools.sum; \
+@NATIVE_TRUE@    echo "Running $${testname} ..." >> gotools.log; \
 @NATIVE_TRUE@    sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' < $${file} >> gotools.log; \
 @NATIVE_TRUE@    grep '^--- ' $${file} | sed -e 's/^--- \(.*\) ([^)]*)$$/\1/' -e 's/SKIP/UNTESTED/' | sort -k 2 >> gotools.sum; \
 @NATIVE_TRUE@  done