From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9C8B510EA90 for ; Wed, 29 Mar 2023 14:01:27 +0000 (UTC) Received: from linux.intel.com (maurocar-mobl2.ger.corp.intel.com [10.252.27.139]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by linux.intel.com (Postfix) with ESMTPS id 88D37580CD3 for ; Wed, 29 Mar 2023 07:01:21 -0700 (PDT) Received: from maurocar by linux.intel.com with local (Exim 4.96) (envelope-from ) id 1phWMZ-00AuXP-0N for igt-dev@lists.freedesktop.org; Wed, 29 Mar 2023 16:01:19 +0200 From: Mauro Carvalho Chehab To: igt-dev@lists.freedesktop.org Date: Wed, 29 Mar 2023 16:01:16 +0200 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH] runner/meson.build: fix minimal build List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Mauro Carvalho Chehab Minimal pipeline s now failing: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/38824636 This doesn't seem to be related to the patches at the series from where the issue was reported, but addressing it is simple enough: just remove the error and change the logic to properly validate the possible options. Signed-off-by: Mauro Carvalho Chehab --- runner/meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/runner/meson.build b/runner/meson.build index dadfc75f0ca7..c62303ce35c5 100644 --- a/runner/meson.build +++ b/runner/meson.build @@ -24,11 +24,7 @@ if liboping.found() runner_c_args += '-DHAVE_OPING=1' endif -if not build_tests and jsonc.found() - error('Building test runner requires building tests') -endif - -if jsonc.found() +if jsonc.found() and build_tests subdir('testdata') runnerlib = static_library('igt_runner', runnerlib_sources, -- 2.39.2