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 0900D3858C2D for ; Sat, 29 Oct 2022 09:20:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0900D3858C2D Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667035251; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NQVFEG3VTZJlU20r+anGCIqO2CIpMnUWccR2f9wwmYM=; b=Fra202+QrtPh15t9eAsc7buv0R2Q9JDiucY/bcdaGT5uybb26/l40CXoqOxWsHYWmdDX82 +2fOsMBMYgp8+LW89USpXlK7iF3VVAlePpt9P77TllrSadj501H7gMRcuc6vtJjaWiH8Qh c4h1O6tGsiYC/jGl14tuZIE6lHNFgzQ= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-433-NujmTLwFMBmgkz8xvi0MGA-1; Sat, 29 Oct 2022 05:20:47 -0400 X-MC-Unique: NujmTLwFMBmgkz8xvi0MGA-1 Received: by mail-qt1-f199.google.com with SMTP id k9-20020ac85fc9000000b00399e6517f9fso4697452qta.18 for ; Sat, 29 Oct 2022 02:20:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=NQVFEG3VTZJlU20r+anGCIqO2CIpMnUWccR2f9wwmYM=; b=JK6Vs135aND4p23bY1+hktl3KdQP+FlVz33dbJce7iVnRhNYiU8SoE0KCs32ONWSmv KNIl+U6hpIY2j9Owm9/2OUwG0tFWSOT5THznl7oln8ad3y75e/UOEHFDC/tRvmxLRTx+ FRFpefnZPIPjLN9R3jG/+iGnzOoV7EnufHvZLyjQev4U5dNvSJTr/dJ1ed63IqTX/yt5 YApOqvGNJp9dmH96p246lBIPyhu7+3jxMqgBDXWIzrQc/aafguEoZ68ZvOUUkZLGjLay XtTaFl/2S5LNJTuB79MeQy17yTy1qmetL8Kgw8JiPl0M4DAN5YJumVlN0lvt8ZMNGh5A Dumg== X-Gm-Message-State: ACrzQf3bIMItVz3zNLzOlljZsts3qqWnZbK6K9WgkwLXRHrEInVgWygm LkmEvwyJIibSRWGNTfXm2Xf5NR1Rir7R0La7UqezHT66ufOmJLv+sHhR8IMxGOKnQJhwLO7MSZ5 dMPLrHO8QXttZ/4KQPRJf1g== X-Received: by 2002:a05:622a:11c7:b0:39c:b4bc:7030 with SMTP id n7-20020a05622a11c700b0039cb4bc7030mr2837116qtk.17.1667035246871; Sat, 29 Oct 2022 02:20:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6hNlBUdvdp9qcxMPBIZ0oZc362oJXRyg3c+uvYdiv81VOQAp+3P5ER/sb4XHsxuL0tMJ5EmA== X-Received: by 2002:a05:622a:11c7:b0:39c:b4bc:7030 with SMTP id n7-20020a05622a11c700b0039cb4bc7030mr2837104qtk.17.1667035246544; Sat, 29 Oct 2022 02:20:46 -0700 (PDT) Received: from localhost ([31.111.84.238]) by smtp.gmail.com with ESMTPSA id g23-20020ac870d7000000b0039d02911555sm566701qtp.78.2022.10.29.02.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Oct 2022 02:20:46 -0700 (PDT) From: Andrew Burgess To: Ivan Tetyushkin , gdb-patches@sourceware.org Subject: Re: [PATCH 0/7] introduce get_runtime_path In-Reply-To: <20221025162946.727169-1-ivan.tetyushkin@syntacore.com> References: <20221025162946.727169-1-ivan.tetyushkin@syntacore.com> Date: Sat, 29 Oct 2022 10:20:44 +0100 Message-ID: <87czabc7f7.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Ivan Tetyushkin writes: > Hi. I tried to run a testsuite using a remote host test setup on QEMU > (RISC-V) with Linux. Thanks for looking at these problems. I suspect the setup you are using is not one that is used very often. Could you give more details about your setup so that others might be able to reproduce the issues you are seeing, and validate your fixes? Thanks, Andrew > Some tests that passed on local machine are failed due to hardcoded pathes in tests. > For example, see gdb.base/print-file-var.exp. This test has SHLIB_NAME > that is an absolute path on local machine, and of course this file does not > exist on remote machine. To fix this, a function get_runtime_path was created. > > These patches introduce this function and some tests that could be fixed > by changing an absolute path on local machine to a runtime path. > > Ivan Tetyushkin (7): > [gdb/testsuite] Adding function to find runtime path to support remote > execution for testsuite > [gdb/testsuite] fix test gdb.base/print-file-var.exp for remote > execution > [gdb/testsuite] fix test gdb.base/jit-reader-exec.exp for remote > execution > [gdb/testsuite] fix test gdb.base/solib-vanish.exp for remote > execution > [gdb/testsuite] fix test gdb.base/infcall-exec.exp for remote > execution > [gdb/testsuite] fix test gdb.base/info-shared.exp for remote execution > [gdb/testsuite] fix test gdb.base/jit-elf-so.exp for remote execution > > gdb/testsuite/gdb.base/infcall-exec.exp | 7 +++++-- > gdb/testsuite/gdb.base/info-shared.exp | 9 +++++++-- > gdb/testsuite/gdb.base/jit-elf-so.exp | 6 ++++-- > gdb/testsuite/gdb.base/jit-reader-exec.exp | 5 ++++- > gdb/testsuite/gdb.base/print-file-var.exp | 4 +++- > gdb/testsuite/gdb.base/solib-vanish.exp | 7 ++++++- > gdb/testsuite/lib/gdb.exp | 12 ++++++++++++ > 7 files changed, 41 insertions(+), 9 deletions(-) > > -- > 2.38.1