Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101743 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58750 invoked from network); 1 Feb 2018 23:02:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Feb 2018 23:02:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.83.44 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 74.125.83.44 mail-pg0-f44.google.com Received: from [74.125.83.44] ([74.125.83.44:33092] helo=mail-pg0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/D2-33502-88C937A5 for ; Thu, 01 Feb 2018 18:02:34 -0500 Received: by mail-pg0-f44.google.com with SMTP id u1so13141605pgr.0 for ; Thu, 01 Feb 2018 15:02:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EaN2qilNmNkf05FE+clykUlaHeZnGcI0jZ+2yFZfvxo=; b=MhE4M8cl2EjyAD6k2z82ofke4wVPXTXA3NDtVvObXKZ53xRomdV3TbK7yYzoqF2Hl2 +vjtl0r57zepJXCmIlbzc3eQzUOado85JrPyvWi6awVmmXaxBvhhEhdwOeNzairiL2QG srNp6/PXXYVTJgQgAoSRy7BpBCyMo+pJ5YtZIP/doT4wr9ZiXIpDkvw5rI4EPynDkmSx Sd0uuw/ccf1uMd27XdYs/sMsptAJ0lG20h4P3Fyiru7efH0mEaz5sCJweMs04ODmEPmc inWn5UKorgIILUiSNdx/VzodQALbQcPSYixm83rjDFPzEOlfU5QajBImGC1c4MpMeKIp CYqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EaN2qilNmNkf05FE+clykUlaHeZnGcI0jZ+2yFZfvxo=; b=T3MBcF3afrbLIsHPb6wk6FsaOaG9uwqeNLzEppKu8OhlMd2aokwDKTfWuWsxP6/pg8 B/b3BhYq++ZDhoAOhSA8S8Me1A+E3qo+CYhAxJW6wRXzHLA9Upqsb0XhKC6ODcCpMi6G bpwomnwXL2rz+02jquPBxnrLyBBeM9yArWmdVbEwIYQGhp8ZOVQBoD8JuC7TXbD6uluu 3tE/t7I6menpmjwEb8Q7z4SiRwmtK9fwc1L37bHNNBmfbaRszw8Tj0PyyCADUyRYQhCr GAleWaPnfHU4dhqqW+sAFNSOxQqM3WkMqNz6uFv6H4L/OQCeWg/BmJ1+WXSP0V7a48+f Q8TQ== X-Gm-Message-State: AKwxytfxTisXQH9v5QR4WzORKvarAfqVhwFWRwo8Ru9ULHOfn5BpimuW RzNtryBHdbieERMhe1KbUOC2OS0= X-Google-Smtp-Source: AH8x2264ihZ7wzHKPZOJnNuLGvEYfuMaAL30ZB1tWW+pJZ4v8+iZH5Zivs4OYvmAUovWivqVMpO8NA== X-Received: by 10.101.64.193 with SMTP id u1mr29934994pgp.44.1517526148003; Thu, 01 Feb 2018 15:02:28 -0800 (PST) Received: from Stas-Pro-2016.local (c-73-71-144-171.hsd1.ca.comcast.net. [73.71.144.171]) by smtp.gmail.com with ESMTPSA id w10sm467478pgr.57.2018.02.01.15.02.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 15:02:27 -0800 (PST) To: Nazar Mokrynskyi Cc: PHP Internals References: <0b2d12f4-388c-a3bf-cbbf-417a0f98b386@mokrynskyi.com> <4b80d345-d3dc-e7c7-9a73-f2352ddf0d8f@mokrynskyi.com> Message-ID: <1347dbb7-9eeb-b661-4e8f-473d78d3f81a@gmail.com> Date: Thu, 1 Feb 2018 15:02:26 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Thunderbird/58.0 MIME-Version: 1.0 In-Reply-To: <4b80d345-d3dc-e7c7-9a73-f2352ddf0d8f@mokrynskyi.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Potential adoption of run-tests.php replacement From: smalyshev@gmail.com (Stanislav Malyshev) Hi! On 1/31/18 2:50 AM, Nazar Mokrynskyi wrote: > The idea is to make filenames more descriptive and sufficient for > displaying in test results. Descriptive - sure, that'd be great, why not. Sufficient - won't happen. Filenames are not meant to describe complex things, are not suitable for it and we should not try to put it there. It just won't work. > This doesn't prevent or discourage anyone from including description in test file itself when more details need to be included. Thus, the necessity of supporting --TEST--. > Moreover, all of the characters from mentioned title are allowed for > use in file name (at least on Linux) and it would be much more useful > to see them instead of 001.phpt or bug-1234.phpt. Yes, but I do not want to have files with such names. And neither, I expect, do our users - weird filenames are hard to work with, break some common tools and require extraordinary care to handle them properly. To illustrate, right now git (tool that is behind Linux kernel, which is behind pretty much everything on the Internet) can't properly process some of our test filenames. We don't need more trouble in this department. We certainly don't need to force people to name their files "Test whether foo(bar($baz)) crashes if it's called more than twice (bug #1234).phpt" - that would be a nightmare to work with. We should not be using filenames for things they weren't meant to be used for. -- Stas Malyshev smalyshev@gmail.com