From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 45F3D3858C2D for ; Wed, 30 Mar 2022 14:05:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 45F3D3858C2D Received: by mail-wr1-x430.google.com with SMTP id w4so29417975wrg.12 for ; Wed, 30 Mar 2022 07:05:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=p+LOIga7q0PcSTAPtEx0hbQXc1bF21k8Bvxef72mFks=; b=0kBTX9QLOWakkOmA/7+3/p/bZqZa1Gzr7A70aUI03r5iQuUPMeNlFmBNu9d77Azja2 bvOwkfdeut9uSLtTgSR4+k34KhEvA/zHmwYsvQRmvKJrA9LTsdv5jFM/l6zgm2k+wQNk KqNULpmz4r3E3moB1TLSi1qUsHMnF/yvJPCjy1hGsmztLTTJN7Dn3R9guMT0yRzXI/hG uqIBEDmcmP5JhADdyp/YZaxyftqKadUSYij2H/+ThGsXvry8aKqBoDXa08IqoKWCPEbR svVhlocjA8JuR5DV1GsQNR1mBvnmlhRwdHZs81G6M9T+5BWtBV5Q8vPFvHSudxIfI2lA sLcA== X-Gm-Message-State: AOAM530IdE0RAZKZ3eoQ8Ep641UA3j4xcVn0bOvpj0UWq08Jl4lXxgvf qjEbH5BgehvLYF6JCmJjxELHeWw8W2BOgvdkz2Y= X-Google-Smtp-Source: ABdhPJwIG5p4YYkFqXN2Jg4u/Jk80bzrOioW/8KWIIgKMNVpdAJWQbhbRs1BAF9McMy1vu/FRUrTVKIu1a8ubkQ3VVI= X-Received: by 2002:a05:6000:2c7:b0:205:cb41:2a82 with SMTP id o7-20020a05600002c700b00205cb412a82mr14305012wry.395.1648649105480; Wed, 30 Mar 2022 07:05:05 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Wed, 30 Mar 2022 15:04:54 +0100 Message-ID: Subject: Re: To use testsuite for unit testing gcc for target To: RICHU NORMAN Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_LINKBAIT3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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, 30 Mar 2022 14:05:10 -0000 On Wed, 30 Mar 2022 at 14:50, RICHU NORMAN wrote: > > Hi > I want to use testsuite for unit testing gcc for target riscv.Testsuite is > already available with the compiler.Could you suggest a sample or way to > use testsuite? I'm not sure exactly what you want to do, but the usual way is to build gcc and then run "make check". See https://gcc.gnu.org/install/test.html for more details, including how to run only part of the testsuite or how to change how the tests run.