From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id A5453385803D for ; Wed, 16 Feb 2022 12:26:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A5453385803D Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-593-GdRKng0ZOPS-S78jlDF2Dg-1; Wed, 16 Feb 2022 07:26:01 -0500 X-MC-Unique: GdRKng0ZOPS-S78jlDF2Dg-1 Received: by mail-wr1-f72.google.com with SMTP id q21-20020adfab15000000b001e57c9a342aso1030194wrc.6 for ; Wed, 16 Feb 2022 04:26:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=C0Ajt5rbcOHGFVjYTy8AAw/nj2TdF2hOWCVr1Tu1mdk=; b=AZhF8kQ/BPWp48n3RjfwbfsfuaV8oj9q0hvmXwmbk0gIZUYR/pXWzBg2YOqBMnXDF5 muq0+nZgUemcVgcijSPQc3Bsz8mOghMmcBmebOcuUiDApcgXj+Q8wCgzKO1ZAfi/0D+S jCiQe2Akt4K//9JwyxlHoHzbn0KOaND8RWM9064rznARNFYrABmjXkrDUsZmemqVCAZM 5vxzB4atGcqoTZTEN8pkEcjYC21UTzaOI1XRkCUwQO8yl9eczKoIVKbI3QZq1bQE16vi enrnwRsgPQThxaB8UW3pREYkeqfBfAQ7JhzEQ5CJYmyPfGeyaZ7FVKMvtojtSRtkNZeC c9Zw== X-Gm-Message-State: AOAM531igfNGbD2VAR+54LVPzp9umSE+nHzRroK0AwJwnseRuix+O5ti GyHSPTmV59ZsaWznY/y1X8PAx06ZJKWYTKxj5hwgdj2E80FJJpkA2J0MpSddQ9d2iRv4W513413 +76gfk+T2BLpDQFDySYIrZ9FqlDSd/c/brJ8IFTpExA2Ga51O+/ncAXrD534= X-Received: by 2002:adf:fa05:0:b0:1e4:9b6c:c041 with SMTP id m5-20020adffa05000000b001e49b6cc041mr1959330wrr.633.1645014360044; Wed, 16 Feb 2022 04:26:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzLoiLyMAl4JODCsOMmkq4JdmrPRJlH9W/lFr5amzukCJR3ujMFNXudTpt+2d4ZUu5pEnIYtg== X-Received: by 2002:adf:fa05:0:b0:1e4:9b6c:c041 with SMTP id m5-20020adffa05000000b001e49b6cc041mr1959306wrr.633.1645014359725; Wed, 16 Feb 2022 04:25:59 -0800 (PST) Received: from [10.0.0.8] (cpc108959-cmbg20-2-0-cust731.5-4.cable.virginm.net. [80.0.22.220]) by smtp.gmail.com with ESMTPSA id t4sm18112399wmj.10.2022.02.16.04.25.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Feb 2022 04:25:59 -0800 (PST) Message-ID: Date: Wed, 16 Feb 2022 12:25:57 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.0 Subject: Re: Error in make check. To: gcc-help@gcc.gnu.org References: From: Andrew Haley In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2022 12:26:07 -0000 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://keybase.io/andrewhaley EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671