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: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00, DKIM_ADSP_CUSTOM_MED,FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 04B6D1F453 for ; Mon, 29 Apr 2019 19:26:58 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id A7DEC120A17; Tue, 30 Apr 2019 04:26:52 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 55CFA120A15 for ; Tue, 30 Apr 2019 04:26:50 +0900 (JST) Received: by filter0044p3iad2.sendgrid.net with SMTP id filter0044p3iad2-29204-5CC74FDB-18 2019-04-29 19:26:19.3320561 +0000 UTC m=+341478.422847201 Received: from herokuapp.com (unknown [54.161.168.50]) by ismtpd0008p1iad2.sendgrid.net (SG) with ESMTP id IJOT9CWrR1q75BqxLjtbHQ for ; Mon, 29 Apr 2019 19:26:19.236 +0000 (UTC) Date: Mon, 29 Apr 2019 19:26:19 +0000 (UTC) From: Greg.mpls@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67966 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15810 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Sender: MSP-Greg 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-SG-EID: =?us-ascii?Q?M4W5dkI32Qt1AHWPzmUKqncwpr1RYzW=2Fh5io+QGCFbppDLbWtSHsod7iYl2FGC?= =?us-ascii?Q?KWMGSWB7XChJ9RgrD4DEqPL1TuEs400gPRzmFhl?= =?us-ascii?Q?tVl4N5WoJdTuSRi1Z4nQC9WiitTGvaEGS+V3NKH?= =?us-ascii?Q?T5Xi8OPN7IuC0NPZsSuf+mUHvgPhHLdd16AcIf4?= =?us-ascii?Q?1JB510BDkkz+1dpw7TaxWM0XS181wwkX=2FkQ=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92483 Subject: [ruby-core:92483] [Ruby trunk Bug#15810] Windows spec failure - Process.ppid returns the process id of the parent of this process - ?? X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15810 has been updated by MSP-Greg (Greg L). @usa I revised appveyor.yml to run specs from the install folder, and submitted a PR. I think running at least one test suite from it is a good idea, as the purpose is to create an install. So, I reverted the commit that bypassed the failing spec. Maybe @eregon can create a guard that considers both windows and whether `RUNRUBY` exists... ---------------------------------------- Bug #15810: Windows spec failure - Process.ppid returns the process id of the parent of this process - ?? https://bugs.ruby-lang.org/issues/15810#change-77829 * Author: MSP-Greg (Greg L) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Since being committed at 79671ec on 28-Apr, this spec has consistently failed: ``` Process.ppid returns the process id of the parent of this process FAILED Expected "11424\n" to equal "13044\n" C:/projects/ruby/spec/ruby/core/process/ppid_spec.rb:5:in `block (2 levels) in ' C:/projects/ruby/spec/ruby/core/process/ppid_spec.rb:3:in `' ``` But, testing it locally, both 'serial' & parallel, it passes. The test also passes at ruby/spec, and it passed with ruby-loco (which doesn't use make)... As to testing locally, if anyone wants to verify (on Windows), from the `spec/ruby` folder: ``` ../mspec/bin/mspec -rdevkit -j -T "--disable=gems" core ``` -- https://bugs.ruby-lang.org/