From: Andrew Haley <aph@redhat.com>
To: gcc-help@gcc.gnu.org
Subject: Re: Error in make check.
Date: Wed, 16 Feb 2022 12:25:57 +0000 [thread overview]
Message-ID: <c6c238f5-88e0-b04e-c8ad-623179290b62@redhat.com> (raw)
In-Reply-To: <CABhGnjs+PG7dDpA5oixo2XqVxoKKdCNukO6cEL9UGO8uVvmdvA@mail.gmail.com>
On 2/16/22 12:11, Krishna Narayanan via Gcc-help wrote:
> make[4]: Leaving directory '/home/krishna/latest/x86_64-linux-gnu/libsanitizer'
> make[3]: Leaving directory '/home/krishna/latest/x86_64-linux-gnu/libsanitizer'
> make[2]: Leaving directory '/home/krishna/latest/x86_64-linux-gnu/libsanitizer'
> make[1]: Leaving directory '/home/krishna/latest'
> make[1]: Entering directory '/home/krishna/latest/gcc'
> Making a new config file...
> echo "set tmpdir /home/krishna/latest/gcc/testsuite" >> ./site.tmp
> rm -rf testsuite/gcc-parallel
> make[2]: Entering directory '/home/krishna/latest/gcc'
> (rootme=`${PWDCMD-pwd}`; export rootme; \
> srcdir=`cd ../../gcc-11.2.0/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
> if [ -n "" ] \
> && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
> && [ -f testsuite/gcc-parallel/finished ]; then \
> rm -rf testsuite/gcc; \
> else \
> cd testsuite/gcc; \
> rm -f tmp-site.exp; \
> sed '/set tmpdir/ s|testsuite$|testsuite/gcc|' \
> < ../../site.exp > tmp-site.exp; \
> /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \
> EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
> ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
> \
> if [ -f ${rootme}/../expect/expect ] ; then \
> TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
> export TCL_LIBRARY ; \
> fi ; \
> `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
> ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gcc ; \
> if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
> touch ${rootme}/testsuite/gcc-parallel/finished; \
> fi ; \
> fi )
> /bin/bash: line 17: runtest: command not found
> make[2]: Leaving directory '/home/krishna/latest/gcc'
> rm -rf testsuite/g++-parallel
> make[2]: Entering directory '/home/krishna/latest/gcc'
> (rootme=`${PWDCMD-pwd}`; export rootme; \
> srcdir=`cd ../../gcc-11.2.0/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
> if [ -n "" ] \
> && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
> && [ -f testsuite/g++-parallel/finished ]; then \
> rm -rf testsuite/g++; \
> else \
> cd testsuite/g++; \
> rm -f tmp-site.exp; \
> sed '/set tmpdir/ s|testsuite$|testsuite/g++|' \
> < ../../site.exp > tmp-site.exp; \
> /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \
> EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
> ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
> \
> if [ -f ${rootme}/../expect/expect ] ; then \
> TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
> export TCL_LIBRARY ; \
> fi ; \
> `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
> ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool g++ ; \
> if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
> touch ${rootme}/testsuite/g++-parallel/finished; \
> fi ; \
> fi )
> /bin/bash: line 17: runtest: command not found
> make[2]: Leaving directory '/home/krishna/latest/gcc'
> rm -rf testsuite/gfortran-parallel
> make[2]: Entering directory '/home/krishna/latest/gcc'
> (rootme=`${PWDCMD-pwd}`; export rootme; \
> srcdir=`cd ../../gcc-11.2.0/gcc; ${PWDCMD-pwd}` ; export srcdir ; \
> if [ -n "" ] \
> && [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] \
> && [ -f testsuite/gfortran-parallel/finished ]; then \
> rm -rf testsuite/gfortran; \
> else \
> cd testsuite/gfortran; \
> rm -f tmp-site.exp; \
> sed '/set tmpdir/ s|testsuite$|testsuite/gfortran|' \
> < ../../site.exp > tmp-site.exp; \
> /bin/bash ${srcdir}/../move-if-change tmp-site.exp site.exp; \
> EXPECT=`if [ -f ${rootme}/../expect/expect ] ; then echo
> ${rootme}/../expect/expect ; else echo expect ; fi` ; export EXPECT ;
> \
> if [ -f ${rootme}/../expect/expect ] ; then \
> TCL_LIBRARY=`cd .. ; cd ${srcdir}/../tcl/library ; ${PWDCMD-pwd}` ; \
> export TCL_LIBRARY ; \
> fi ; \
> `if [ -f ${srcdir}/../dejagnu/runtest ] ; then echo
> ${srcdir}/../dejagnu/runtest ; else echo runtest; fi` --tool gfortran
> ; \
> if [ -n "$GCC_RUNTEST_PARALLELIZE_DIR" ] ; then \
> touch ${rootme}/testsuite/gfortran-parallel/finished; \
> fi ; \
> fi )
> /bin/bash: line 17: runtest: command not found
> make[2]: Leaving directory '/home/krishna/latest/gcc'
> make[1]: Leaving directory '/home/krishna/latest/gcc'
>
> Hello, I am getting this error while make -k check and make check-gcc
> for the gcc-11.2.0 ,while running the testsuite make -k check .I was
> getting the similar error for the gcc-10.1.0 build.While going into
> the testsuite directory it gives this error,I think so there is a
> problem in the .exp script which gives this error.Can you please help
> me out with this?
> Thanks and regards,
> Krishna Narayanan
https://gcc.gnu.org/install/test.html
... you must have the testing tools installed. This includes DejaGnu, Tcl, and Expect; the DejaGnu site has links to these. Some optional tests also require Python3 and pytest module.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
prev parent reply other threads:[~2022-02-16 12:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-16 12:11 Krishna Narayanan
2022-02-16 12:24 ` Xi Ruoyao
2022-02-16 12:25 ` Andrew Haley [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6c238f5-88e0-b04e-c8ad-623179290b62@redhat.com \
--to=aph@redhat.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).