Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110391 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 81081 invoked from network); 5 Jun 2020 16:59:19 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 Jun 2020 16:59:19 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id AE470180506 for ; Fri, 5 Jun 2020 08:42:01 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 5 Jun 2020 08:42:01 -0700 (PDT) Received: by mail-io1-f52.google.com with SMTP id u13so4593252iol.10 for ; Fri, 05 Jun 2020 08:42:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=2LVLCFgCi2NWNJpNoYIsiJH4LjUvQIzIrHZUJtn08Mo=; b=NV7JUaowSEn+NnJTm4dE6wx8KvSQYppiRe4O2lw2/W+TcLVhsxWKyQPuR0dE4ss8sp aZ3k78veksOdWHX9a24FljjW5hAjB+BF/xe13kk2Gn3T1grjRvmYvnPDi3VOZ+vxrULJ hH2Rk1qo3pICahTXYkgs+Mc0CKq+x78XfeQ2VnJETEs8djcQexUKMfnJoaJPvn0p3399 6p/UOhBWTkTUDc3m4QvNVR4Me0x14rRF4G56M5YgOdPe0xZ9+w3JARrIXa0wECxq26Fl rBIM9Ly9oQzQS9Qw1qJoY8HNHMEoFGSxSY9aXtwIsa3ocpb+xfQ/NyK/AaeBpDYci+OD w4CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2LVLCFgCi2NWNJpNoYIsiJH4LjUvQIzIrHZUJtn08Mo=; b=cpw6Yt8Kkj04F2crlKW7PbhcsHY7B6S+4zMRHLTiYzU69HXrlToxdLiJ7McktAKmdn i50mDQAi8LzAdQj6lsj9xBEluUiRY7QEWyVX6+yElHHroKhYuI0VxrD+3hu7le2iQ3Se rGxwQ0cwLBb5xeOAXL268Glh2b7nf9GEdzqC8hKi4FD1CodALVUOvG1KoCGDes9lMCBj 8cIFB1SYcOQtvIHUetBeoY7mrqa6dusV5NqKZFpMu6Xc11yqab5pnltsNdR0EJPZAPE5 6w+BpkJTvsr8H2/dFfR4/l/lGojaSGprHF21yVz6ddBTt+6cF9pIUrhaonFzfsI7W0xb lgag== X-Gm-Message-State: AOAM531IT7AQL7UBCNoAgGFDs+oxhAiFYXeGXqJJht2r0B4QtfsBqY3u HwG2095AULpwfq91x7DuAXPpkUYJ2Fuw371QMryIk2m6 X-Google-Smtp-Source: ABdhPJwTlsn7dSrhITdTqZZ43YJ8RhpFQylxccHxIu/jYCVpXB09zhqnla9Pc/c8SxVVl9QyK3eBtMBO378IlUGhODs= X-Received: by 2002:a6b:6414:: with SMTP id t20mr8963416iog.101.1591371720144; Fri, 05 Jun 2020 08:42:00 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 5 Jun 2020 18:41:49 +0300 Message-ID: To: Internals Content-Type: multipart/alternative; boundary="00000000000015c13705a7581ab7" Subject: Refactoring run-tests.php From: maxsem.wiki@gmail.com (Max Semenik) --00000000000015c13705a7581ab7 Content-Type: text/plain; charset="UTF-8" I was thinking about making some improvements to our venerable test runner, however I wasn't feeling confident about improving the present code base. Instead, I decided to attempt to refactor it. Here's my work in progress: https://github.com/MaxSem/run-tests It requires Composer only for development, and has a script to make a single-file distribution, functionally identical to what we presently have. When it comes to integration with php-src, it could be moved to a subdirectory there or be kept in a separate repository and be used to generate a new run-tests.php whenever needed. Is there interest in this, should I continue? Any suggestions? -- Best regards, Max Semenik --00000000000015c13705a7581ab7--