Re: Error in make check.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux