From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id C8CF6459BD;
	Tue, 17 Sep 2024 13:39:57 +0200 (CEST)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6E1C4402CB;
	Tue, 17 Sep 2024 13:39:57 +0200 (CEST)
Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com
 [209.85.218.52]) by mails.dpdk.org (Postfix) with ESMTP id 5C24440261
 for <dev@dpdk.org>; Tue, 17 Sep 2024 13:39:54 +0200 (CEST)
Received: by mail-ej1-f52.google.com with SMTP id
 a640c23a62f3a-a8d13b83511so668269966b.2
 for <dev@dpdk.org>; Tue, 17 Sep 2024 04:39:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=pantheon.tech; s=google; t=1726573194; x=1727177994; darn=dpdk.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=U/Y4xyCUqfiX1ommegPYN6sIbJkplm/7CbXD1DVQ+tc=;
 b=Na+J+GzxXAYpXPaDigwYnJC7na+TFKqdOWDbnC06uEKE1KvqFNuHNqTaEJQJsELLfw
 izTrbUvm34S11cLmf8qPgRsGNziH84DHHY3iSR1K4GD68upnpi+8MWGl4YIRsswnYGEn
 iu6NQINBZ7IxgQJMJ0U35aBIyDuDahxJP3WxvlohpFKH5C319G7ZMHne2MiVWzDWH/nP
 qCEukxZtkrkExFkqGE57yI2XL5K+uyF+DB8v5rNIwdRNSVzzXVHS60GQnxd6OWM9apv+
 BNEdvVGX7U8hnN4yMQxq/wM8ROS22gWXwR+RFWg480DCiPTdu9mkWyxSeDJNQbWtuwbn
 13pA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1726573194; x=1727177994;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=U/Y4xyCUqfiX1ommegPYN6sIbJkplm/7CbXD1DVQ+tc=;
 b=m8nErD5bIASAbnMOhBedM6Dg/EF/ahCGIY77medSHSQmDzwYFM3TFdLB5DgybCQ1kL
 KnMqmn3EnaPtb5nS7Mql0yj4XPGpow5XraoNYMUXbpJvFyxFEt96wW4xGX58tOJ75lAk
 EPMmNJFuIS0V+HJdDDG0wNPvomgWaDU3hKvTRRLCD0R7WcSvXlFsuwKE1klE5lUsuBKv
 6SO/6Gf0ml672My+zoA4Zpd4foVcwdlJtXChm2naQVS8QmYvHit0fMkt/49fZwglcN4I
 8GxpibBKee3zR/oYa2kughd8urp2fdtWvziC1kHCZdu7OesxAnv/4m5QK3EdbWkvRSG6
 moZA==
X-Forwarded-Encrypted: i=1;
 AJvYcCVt67rSuBEs7xFDygsU/Cx8n+rN/VfMe6u3KAW+iIqmapWFiEVOTZv95nEG6B7bqUO1snY=@dpdk.org
X-Gm-Message-State: AOJu0YwNdg3Y4n3KipmrGIzRChlQxai4X89L9qH1Ujsrpa07hxmc5yoA
 3lr5oWicCuaQYKp+w7fIx3t5DJT8s64mip4qfVbztlytIXIefS4aMXZtlZnuMbteQ3ePTcVY3A6
 K2ao=
X-Google-Smtp-Source: AGHT+IFZ31vrecH7rARX9AOqcPMt/CqJ2bO0lPGrveLmskDuW8Gv1cnX4Tb/vHOWq7PcvNWOwxXXjQ==
X-Received: by 2002:a17:907:e6a5:b0:a8a:5bfb:7d1a with SMTP id
 a640c23a62f3a-a90294adcf2mr1593566366b.35.1726573193949; 
 Tue, 17 Sep 2024 04:39:53 -0700 (PDT)
Received: from [10.12.0.236] (81.89.53.154.host.vnet.sk. [81.89.53.154])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a90610f4480sm434163566b.82.2024.09.17.04.39.53
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Tue, 17 Sep 2024 04:39:53 -0700 (PDT)
Message-ID: <85034ee9-09c0-4166-a546-e65ffdd0b56b@pantheon.tech>
Date: Tue, 17 Sep 2024 13:39:52 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [PATCH 4/5] dts: use TestSuiteSpec class imports
To: Luca Vizzarro <luca.vizzarro@arm.com>, dev@dpdk.org
Cc: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>,
 Paul Szczepanek <paul.szczepanek@arm.com>
References: <20240822163941.1390326-1-luca.vizzarro@arm.com>
 <20240822163941.1390326-5-luca.vizzarro@arm.com>
Content-Language: en-US
From: =?UTF-8?Q?Juraj_Linke=C5=A1?= <juraj.linkes@pantheon.tech>
In-Reply-To: <20240822163941.1390326-5-luca.vizzarro@arm.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org


> diff --git a/dts/framework/runner.py b/dts/framework/runner.py

> @@ -229,139 +221,34 @@ def _get_test_suites_with_cases(

> +            filtered_test_cases: list[TestCase] = [
> +                test_case
> +                for test_case in test_suite_spec.test_cases
> +                if not test_suite_config.test_cases_names
> +                or test_case.name in test_suite_config.test_cases_names
> +            ]

Ah, looks like TestSuiteSpec doesn't contain the subset we want to test. 
Could we adapt it this way? I think we don't really care about test 
cases we don't want to test.