Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101604 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62026 invoked from network); 17 Jan 2018 16:51:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2018 16:51:02 -0000 Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.178 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.223.178 mail-io0-f178.google.com Received: from [209.85.223.178] ([209.85.223.178:41722] helo=mail-io0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/ED-12394-5FE7F5A5 for ; Wed, 17 Jan 2018 11:51:01 -0500 Received: by mail-io0-f178.google.com with SMTP id f6so21565841ioh.8 for ; Wed, 17 Jan 2018 08:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=4Zms7OjCHD7iMyvxyc71e+iMmbDW/Y2WIlhSDh31LJg=; b=nea7nc4k/s/GuS3HmZIAso0y5/UNy9gzygRScwrntSYRdhPfVIoQmn1/J1RjrR2omM YTYky0x/k2qFGr0UBmgKrXgqzOGOTSRxE29rU6J4+MwbjqOrXFcFIsCM6cB3S8Ylave5 L9kPrHoGKiGnOYNinyoUACHYCnPg6z+RwX/7ccSxqWSESf2xt+Wt7hm2zcKUoAXf7WrY OD/877vOTZLEzY55lDl8m1LDiLiEcUNrouvxXMVA/276IqEQeaRAFoJFGrlPte4fXkC6 n16yo05ynOQGK2V/R38jl3vWFCbkd3bO+sLjDXdPcD5XnG7il6raeZR5fyzB4nuVPEGD UHSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=4Zms7OjCHD7iMyvxyc71e+iMmbDW/Y2WIlhSDh31LJg=; b=lv4nOgYI4YY6ChYbGOIapj5Lc4RIfnKYL0yZymrOrwLMgqUt8hH26n1NPonrXqdUCf MueOi6rG4uVYTR7Dr7x1AcI3N32GV0f0us/yc0gBkZ8fZ1ZjDgR5jqJzXmk/4esWFBAU wuaMKa3Fq5w9UZtBh82njcOW+sZi20XN53fbhZ/TfdVWPmtX8tNsDbGccldnVkdKAN6h H2TI8PA6OaWbk+5cHTWTAZXurog9nVRx33l0FtUBNWG8yNPvnBruFj+33qSTrJsL7hoM 7Dgg1v/tcUGFh1l884Gi9BLa9bofaMk5i1vaj2iYLrB0WObdU0nub+lgSgTM5jHpnuU8 WKjA== X-Gm-Message-State: AKwxytd2j/qCRkxJqDQP5ePmEJfXy2T8t2mSByARtuz9Q6xOSy62SDPW Rctz+KlqPQ2qoF1hpA7OJeMYvXDE1vkB9k4BZ/M= X-Google-Smtp-Source: ACJfBosDD+bvAfBHE1q2u/Z4LeXxcgxK7zCu0GNB1r6l7ofn2U4xqyEANdy68L3ycUjlTwBf3pbkbS+iuZTSBDJv5o0= X-Received: by 10.107.23.194 with SMTP id 185mr21245659iox.62.1516207858670; Wed, 17 Jan 2018 08:50:58 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.135.159 with HTTP; Wed, 17 Jan 2018 08:50:58 -0800 (PST) In-Reply-To: References: Date: Wed, 17 Jan 2018 17:50:58 +0100 Message-ID: To: Sam Ding Cc: PHP internals Content-Type: multipart/alternative; boundary="94eb2c05beb4d25f8c0562fba6a6" Subject: Re: [PHP-DEV] unit test a single case From: nikita.ppv@gmail.com (Nikita Popov) --94eb2c05beb4d25f8c0562fba6a6 Content-Type: text/plain; charset="UTF-8" On Wed, Jan 17, 2018 at 5:40 PM, Sam Ding wrote: > > Hi PHP developers, > > I am new and try to porting php v7.2.1 on IBM s390x, after building and > run unit test "make test", there are > some failed cases. Is there any way I can run a single case and get the > result? > Further how to debug a php unit case code? > You can use one of make test TESTS=dir sapi/cli/php run-tests.php -P dir to run tests in a certain directory, or a specific test file. The first step for debugging would be to look at the .out or .diff file for the failing .phpt. There will also be a .php file, which can be used to run the test file directly. Nikita --94eb2c05beb4d25f8c0562fba6a6--