From patchwork Mon Feb 26 06:17:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rhys Kidd X-Patchwork-Id: 10241633 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ED4A460211 for ; Mon, 26 Feb 2018 08:44:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E039529D1E for ; Mon, 26 Feb 2018 08:44:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D41A429D27; Mon, 26 Feb 2018 08:44:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8B0AB29CF9 for ; Mon, 26 Feb 2018 08:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E192B6E3E8; Mon, 26 Feb 2018 08:43:10 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt0-x241.google.com (mail-qt0-x241.google.com [IPv6:2607:f8b0:400d:c0d::241]) by gabe.freedesktop.org (Postfix) with ESMTPS id 328AE6E1DC for ; Mon, 26 Feb 2018 06:18:06 +0000 (UTC) Received: by mail-qt0-x241.google.com with SMTP id d26so17557546qtk.10 for ; Sun, 25 Feb 2018 22:18:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=NZ12TxzQ1gftVRyJxUEPvZNJODK/PuwQk8iXWhywlOw=; b=uJjgeK1xbbAU9em52QiOocNyjve4B+Z2z68k0XltHPxKuBlYk57dEBkw2BHeCrXmmT bY+3Asy/kq34/rUfmvBErto1LUXy8PVsGSpRNkA9uiafyRWXVb77Vi6vEfTXcGG5bYU0 e7qgfxCZk/EF+y/ZIkMBoclrDPX+eqD6aSLFNHziYCHRFrszKs8w+y1EQiGJDkHjbJ3A ULh9z5+4zbspEKdkMmUPF3KpwPBZLWH/CzUVGiRdQ+5HzSdatZu+qmMCG/vyS3Lze0ss h2zqVdHW9kVkoZYXtUPV/gKhov2cAz9J1GguEnrHGMlWchrXY0s8rkakDO/6lllp/0pC /LbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=NZ12TxzQ1gftVRyJxUEPvZNJODK/PuwQk8iXWhywlOw=; b=FQioaKlYipCEexGdnBxBPojvvz058OgCPtuooFxnBlwsUrxvlRuO0CeE0a3na+SGhT kdgY8IfrGc/PmLXthJyd9OR7jiU9ca9Fr1Ez7KQbCMyTaQaEfH2ZgUlOu6ISrlZnwFGN F+ujSq4RxHR+atEIlMpH7KltmQ6aB6aQdyGLfeRbBRJkB7eDHF50Je2npU3zZl02lWz0 uAS2kMd4Nd4hIFqW2bCmnhugdGvY60DHCFN47U1dz5YbGnYAqnStJ6BqzyezruSA76NL jKrWXtvAKoj5nVwTsCvfmgD7eSSgNsAhXup6jDuJFTVg41v0/dKaObh0GBu1k2S/fi6y CIuw== X-Gm-Message-State: APf1xPDedcrzoIqwOM65XJlVwpI+GuG4MjBEHX7du1W92PUr0pVoAYrO tZSgoKl62v0d83Z00HAyMBNrrLVH X-Google-Smtp-Source: AG47ELuLVBcSMCRwxX/yvobPPNGeIvlwUI7fciReT/ccZSH70UbDxwdFPUFkfnQuB3goN0oVWa/icw== X-Received: by 10.200.49.226 with SMTP id i31mr16015920qte.42.1519625885142; Sun, 25 Feb 2018 22:18:05 -0800 (PST) Received: from xps9560.fios-router.home (pool-108-30-59-81.nycmny.fios.verizon.net. [108.30.59.81]) by smtp.gmail.com with ESMTPSA id f11sm4938707qtk.38.2018.02.25.22.18.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 22:18:04 -0800 (PST) From: Rhys Kidd To: dri-devel@lists.freedesktop.org Subject: [PATCH hwc v1] drm_hwcomposer: Fix comment on worker_test Date: Mon, 26 Feb 2018 01:17:42 -0500 Message-Id: <20180226061742.19999-1-rhyskidd@gmail.com> X-Mailer: git-send-email 2.14.1 X-Mailman-Approved-At: Mon, 26 Feb 2018 08:43:04 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: zachr@chromium.org, Robert Foss , marissaw@google.com, marcheu@chromium.org, Rhys Kidd MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Reflect the boolean logic of the accompanying code, which is run after Worker.InitWorker() has completed in test setup. Change-Id: If5187bdaa944c5d74a70c55b5b5e58e1baa20511 Signed-off-by: Rhys Kidd --- tests/worker_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/worker_test.cpp b/tests/worker_test.cpp index 38f91db..82523f0 100644 --- a/tests/worker_test.cpp +++ b/tests/worker_test.cpp @@ -66,7 +66,7 @@ struct WorkerTest : public testing::Test { }; TEST_F(WorkerTest, test_worker) { - // already isInitialized so should fail + // already isInitialized so should succeed ASSERT_TRUE(worker.initialized()); int val = worker.value;