From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CF3EC27C6E for ; Mon, 10 Jun 2024 08:09:43 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D841710E35C; Mon, 10 Jun 2024 08:09:42 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="ipPwX621"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8E99A10E359 for ; Mon, 10 Jun 2024 08:09:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718006980; x=1749542980; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=VBlySVY1hWAOJFaxnzylsMPO7/tZpjwoCSCZ+VM/PlA=; b=ipPwX6210xhmZ3YH4CSYD6MMIXBesr3kN6fFg0z88zpqGkwhXIwvpaoa gtBSvN9VxYZzHOfWNas9n9y9KMWE6jegwfTNJWUowfVX7Qyt1yYhIXAJH tsP7M+OWBbnU5LWyWVWuY2cfYp7muTwbB9aEv+ExabQpWFwYle2JFRak1 NzcZh6FQq0pIXyvv6By3oGBG35xloFRSvlbSWjG+GUINL8b7/WFap9W6A z2clscRS4cVgeqdjaKZDpN7KAh0iwWjxrNJCSVYutBra8KT/e4fmyChWY FmsJzYUg+DXH+hbJHBSH8Wfu6IcCvNM2m7L0OxmzqSFT2nW6GyxCa1DKK A==; X-CSE-ConnectionGUID: 1WpxVizgSZiN/nqJHGQUTA== X-CSE-MsgGUID: Pd8LuSKfQs+kpnABHhE/Kw== X-IronPort-AV: E=McAfee;i="6600,9927,11098"; a="18439425" X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="18439425" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 01:09:40 -0700 X-CSE-ConnectionGUID: nxR4N87eRTyo6+pmbyERiw== X-CSE-MsgGUID: xVcpA5ZCSHGQltV7tbrbxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,227,1712646000"; d="scan'208";a="39109799" Received: from bhanu-nuclab.iind.intel.com ([10.145.169.172]) by fmviesa009-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2024 01:09:38 -0700 From: Bhanuprakash Modem To: igt-dev@lists.freedesktop.org Cc: Bhanuprakash Modem , Kamil Konieczny Subject: [PATCH i-g-t 2/3] tests/msm: Move MSM tests to new dir Date: Mon, 10 Jun 2024 13:31:48 +0530 Message-ID: <20240610080150.3610871-3-bhanuprakash.modem@intel.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240610080150.3610871-1-bhanuprakash.modem@intel.com> References: <20240610080150.3610871-1-bhanuprakash.modem@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: igt-dev@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development mailing list for IGT GPU Tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" Move all MSM specific tests (tests/msm_*) to new dir (tests/msm/msm_*). Cc: Kamil Konieczny Signed-off-by: Bhanuprakash Modem --- meson.build | 8 ++++++++ tests/meson.build | 19 ++----------------- tests/msm/meson.build | 16 ++++++++++++++++ 3 files changed, 26 insertions(+), 17 deletions(-) create mode 100644 tests/msm/meson.build diff --git a/meson.build b/meson.build index 701a5cc35..6ae3c2684 100644 --- a/meson.build +++ b/meson.build @@ -276,6 +276,7 @@ includedir = get_option('includedir') libdir = get_option('libdir') libexecdir = join_paths(get_option('libexecdir'), 'igt-gpu-tools') amdgpudir = join_paths(libexecdir, 'amdgpu') +msmdir = join_paths(libexecdir, 'msm') panfrostdir = join_paths(libexecdir, 'panfrost') v3ddir = join_paths(libexecdir, 'v3d') vc4dir = join_paths(libexecdir, 'vc4') @@ -316,6 +317,12 @@ if get_option('use_rpath') endforeach amdgpudir_rpathdir = join_paths(amdgpudir_rpathdir, libdir) + msm_rpathdir = '$ORIGIN' + foreach p : msmdir.split('/') + msm_rpathdir = join_paths(msm_rpathdir, '..') + endforeach + msm_rpathdir = join_paths(msm_rpathdir, libdir) + panfrost_rpathdir = '$ORIGIN' foreach p : panfrostdir.split('/') panfrost_rpathdir = join_paths(panfrost_rpathdir, '..') @@ -343,6 +350,7 @@ else bindir_rpathdir = '' libexecdir_rpathdir = '' amdgpudir_rpathdir = '' + msm_rpathdir = '' panfrost_rpathdir = '' v3d_rpathdir = '' vc4_rpathdir = '' diff --git a/tests/meson.build b/tests/meson.build index 16896de99..122fbd07c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -314,14 +314,6 @@ intel_xe_progs = [ 'xe_sysfs_scheduler', ] -msm_progs = [ - 'msm_mapping', - 'msm_recovery', - 'msm_shrink', - 'msm_submit', - 'msm_submitoverhead', -] - chamelium_progs = [ 'kms_chamelium_audio', 'kms_chamelium_color', @@ -424,15 +416,6 @@ foreach prog : intel_progs endif endforeach -foreach prog : msm_progs - test_executables += executable(prog, join_paths('msm', prog + '.c'), - dependencies : test_deps, - install_dir : libexecdir, - install_rpath : libexecdir_rpathdir, - install : true) - test_list += prog -endforeach - if chamelium.found() foreach prog : chamelium_progs testexe = executable(prog, @@ -457,6 +440,8 @@ endif subdir('amdgpu') +subdir('msm') + subdir('panfrost') subdir('v3d') diff --git a/tests/msm/meson.build b/tests/msm/meson.build new file mode 100644 index 000000000..74169b5b2 --- /dev/null +++ b/tests/msm/meson.build @@ -0,0 +1,16 @@ +msm_progs = [ + 'msm_mapping', + 'msm_recovery', + 'msm_shrink', + 'msm_submit', + 'msm_submitoverhead', +] + +foreach prog : msm_progs + test_executables += executable(prog, prog + '.c', + dependencies : test_deps, + install_dir : msmdir, + install_rpath : msm_rpathdir, + install : true) + test_list += join_paths('msm', prog) +endforeach -- 2.43.2