From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS24940 94.130.0.0/16 X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_HI, SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 64E901F910 for ; Sat, 26 Nov 2022 06:33:26 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.b="Ze1fh2DZ"; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id EC4F57E619; Sat, 26 Nov 2022 06:32:40 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=Ze1fh2DZ; dkim-atps=neutral Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by nue.mailmanlists.eu (Postfix) with ESMTPS id C3D227E5A3 for ; Sat, 26 Nov 2022 06:32:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc; s=s1; bh=A13P7F4B44IVA3CfiMekBltwm9ltESa8m6stLlq5+uI=; b=Ze1fh2DZApz7ODpqumOPNeeCcn0Uyq9sDvoxZo0K0VmbLNX9bCatGZkV1iMQf/ChxFB9 fVz88zEwiRacTerCvXfMHkuNKVAgpKEucZ9wAEqMx/96t2u6rojvRZtZm1Iaz7EhNEbU7m SVZSNd3nGdKK15hCu+qS7mRdXQPuT1fKZIX71e5T43W9hiTYl0Zzq4tgEFucLDKGXQzx2m EFCqgZgcwOWHhqS628d+b4hsjXozTdi47vNghO6PrTvm1GHrMWlesnOSIoqfzfJhEWwTAV ym8WUPi3TxvIeOr+/icVnVNeEUDXCPW+aET0DJq5hxEm9/N/sFncufzGDB+zxyjQ== Received: by filterdrecv-6f5868ff54-kphpw with SMTP id filterdrecv-6f5868ff54-kphpw-1-6381B2FC-D 2022-11-26 06:32:28.494612212 +0000 UTC m=+717938.304623127 Received: from herokuapp.com (unknown) by geopod-ismtpd-4-1 (SG) with ESMTP id HvBqbJEUQgComGmGj6URdA for ; Sat, 26 Nov 2022 06:32:28.440 +0000 (UTC) Date: Sat, 26 Nov 2022 06:32:28 +0000 (UTC) From: "nobu (Nobuyoshi Nakada)" Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Misc X-Redmine-Issue-Id: 19142 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Sender: nobu X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 87363 X-SG-EID: =?us-ascii?Q?rA5eEsXeCy+asKowYcicHxhOSUaOWYD+XnPnBc7LFC8Re9tNQ4Sv5BA=2FOz+glG?= =?us-ascii?Q?+50K4steq4vSjkkyeSAt=2FQpZK6mQgZdK22n=2FlxG?= =?us-ascii?Q?4Fre1APXGvtNJLD94Amm8L1WSaBidhlyxpCicSq?= =?us-ascii?Q?APR5m3QxIUG4As5ZccsTX3pT8U8jlIWoiKfwwPS?= =?us-ascii?Q?XEkwQwuOONO5N+GNu6VVCmhHx8ur9zGcJYpU9kh?= =?us-ascii?Q?jUD4cYBfCx4LbNRDXA7qvpynOVgnLM2FEVQYtko?= =?us-ascii?Q?ueiRlj5Xh8ZRT6q=2FN7apg=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: UQQMXP3RAXVVCG2ATYMC62NU57HA2XWN X-Message-ID-Hash: UQQMXP3RAXVVCG2ATYMC62NU57HA2XWN X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:111017] [Ruby master Misc#19142] Run test suites against 'install', based on ENV variable? List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #19142 has been updated by nobu (Nobuyoshi Nakada). I think that `test` needs `install` only when "preloadenv" and `--enable-load-relative` can't work. At least `test-all` can run as `/install/bin/ruby test/runner.rb`, I think. ---------------------------------------- Misc #19142: Run test suites against 'install', based on ENV variable? https://bugs.ruby-lang.org/issues/19142#change-100270 * Author: MSP-Greg (Greg L) * Status: Open * Priority: Normal ---------------------------------------- Some time ago I believe there was discussion about: ``` make make test make install ``` vs ``` make make install make test ``` Some people preferred to not have to run install before test (disk space, time, etc). Might an environment variable like `RUBY_TEST_FROM_INSTALL` or `RUBY_TEST_FROM_PATH` be added that would trigger the test suite to test against the Ruby install folder or the Ruby in PATH? I believe a handful of files in the test system would need changes, as they load files using `require_relative`... I think spec/mspec is already setup to do so. -- https://bugs.ruby-lang.org/