From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2571F4611EB for ; Tue, 31 Mar 2026 22:43:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774997029; cv=none; b=j5/rbsey3DajFn7DBQlKGXmZcS6r9qmMeAubLRyIR3HTRWjrtsNGJAFuSmRDKSV7rpwG2Kjm3hhABHrEPxYe9wf8QINvcrQaHUChFp6WEE6uPuIatcTg4CHRWr23pOQ1eoeY60EvR5auCFqsJkoRnHozkae2hGTfPVeUuB7nYyw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774997029; c=relaxed/simple; bh=S+ES5LZ7FQDM+VkrFKzMsHCH8Fyi24/km08w7v9MYHA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hMTlxb3QVVLWFNYr37h7F5yVSNFsUbe/c+3z0EfprClU7J3jw1n8CXEC9eBwNWVrMa1j0d69KYc6cXPn9L1cJyzNtATSHsbpl9cSxQ0wRIAMTnWIWw0GJw09J40q5HqzOwBZ4+saQPhE6nkABsooF1X1ku635/Wecu3jrdcfMjA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org; spf=pass smtp.mailfrom=linuxfoundation.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EJ8Uw6Wn; arc=none smtp.client-ip=209.85.160.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linuxfoundation.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="EJ8Uw6Wn" Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-415c8a4d2e6so2618360fac.0 for ; Tue, 31 Mar 2026 15:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1774997027; x=1775601827; darn=vger.kernel.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=y0zFm/wafzYDhWoYf0yG73YRDkA8Xiy0LAp1YWtwYV0=; b=EJ8Uw6Wn8rfyYfwSqcJTDAUZa6jlUq5bJZCL3LipSFRbp4v1tozf9pjRs/4/+UllM8 Q5Scg2YdtqIL2SyoH9zguFcrzNj7JA7vbChGFKzfWM1418QAorYTR0Fu5i2tInGwHqvo igDzcTbLrUGfLOsp3QcUIcNuVuEM6xTLhD3tQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774997027; x=1775601827; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y0zFm/wafzYDhWoYf0yG73YRDkA8Xiy0LAp1YWtwYV0=; b=B7hV6gQ8U/Blffm4X/wBaRovZHbRW6KI4Ci3Zytu33lsOd7gZw11aihaVL/XQmI9eA Juwr+YZHGUDZ7nHyjpzW7Q8rH/5NYWv+UzGSg9seG/dK1rErQHhZJPF0uaCwriTXOcip wYwBOdtYyW1dQKl220cKz8a86PW49KeXkE7kNg4WTK+7SW2BtAwT0022BtNaBSppHrgq V8RtDKwOgcyABzkUdDTZYltkmN3ZJSbYEYZGI14KmitC4wihHQzMJ4I/5elWMAm9Tk+w laS7DM+RcBtD5T0q4eZAXA7Aj06WNq7ZurKdd6bLn98LLtiJXQypQf0wfYk7WChaS5BQ KsqQ== X-Forwarded-Encrypted: i=1; AJvYcCWUdP5WrshC3Nj4IXlkkGOT6QrMYGx5pEyNJoMUOhWz9WpNHopMrJWRqL1gTAUqf4pjQI5gvEmDA9K2zFI=@vger.kernel.org X-Gm-Message-State: AOJu0YxDXZiSmYs7GmmqjdF9bzg/e9BCUx28tPtYkWHToQy62nxWRpj5 icJ9marTgnl6hduNYPeJgoKQ9o1v12MVymuN291SEzhkFduCbeWHTlFmRoHOLPZSbdY= X-Gm-Gg: ATEYQzyJVyZoKWdXpafQT27xHlK1kL+XcU6mB4PF8wHLlkh4O0l704YJAHcMluMRZfu 6MaEgPKpX+QHVh4Qiw7e8naitE4ZslPUUi4rKilLCTGCeji06xfk4RMS1IycTWEqwQwOJ8w6nmN 5NWqGHWUrlK2M3T9AnL9+q3psuvz4JKqPT+eQcId2XJsw5lGz8nWSohKXMbraEJEHkswSm2z5oy le6BZdRNuaobwFtp64WWyCTW3G49URSxtWWpB3QrViNqNINFbz3fbAMDzOwMnDQ1jo4vrh2WYWn IsCj39i1S/wORsv32a2SYGrWCjYkFh7SXwtyEphtGJIHe16G6zcDy8jJM9jy2ydSnhST13Dj5ag HyFfUrvU2Dp0bUIwh71Y0CJNWBLAeAfDYTGz/qI2jSZCJbfQm5OhmisGXLx8z6+4A27hR4R7Ngr 9GoEqBQGqShUhIo6H7UmmWu2jzldl23oWTPsGF1ahxEZrMnw== X-Received: by 2002:a05:6871:823:b0:417:2daf:6aa1 with SMTP id 586e51a60fabf-422cff4ad74mr935250fac.37.1774997026944; Tue, 31 Mar 2026 15:43:46 -0700 (PDT) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-41d04d95bcasm8422610fac.17.2026.03.31.15.43.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 31 Mar 2026 15:43:46 -0700 (PDT) Message-ID: Date: Tue, 31 Mar 2026 16:43:45 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/6] selftests: run_kselftest.sh cleanup and fixes To: =?UTF-8?Q?Ricardo_B=2E_Marli=C3=A8re?= , Shuah Khan , Nathan Chancellor , Nicolas Schier Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, Shuah Khan References: <20260320-selftests-fixes-v1-0-79144f76be01@suse.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20260320-selftests-fixes-v1-0-79144f76be01@suse.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 3/20/26 12:29, Ricardo B. Marlière wrote: > Hi Shuah, > > Please consider merging the following patches. They are mostly small fixes > to run_kselftest.sh, plus one feature: adding the option of passing a > directory to the "-p --per-test-log" argument. > > There is a small corner case spotted in tools/testing/selftests/Makefile > regarding failing sub-targets, and also the removal of the default install > directory for out of tree builds in the top-level Makefile. > > Thank you! > > Signed-off-by: Ricardo B. Marlière > --- > Ricardo B. Marlière (6): > selftests/run_kselftest.sh: Remove unused $ROOT > selftests/run_kselftest.sh: Add missing quotes > selftests/run_kselftest.sh: Resolve BASE_DIR with pwd -P > selftests/run_kselftest.sh: Allow choosing per-test log directory > selftests: Preserve subtarget failures in all/install > kbuild: remove kselftest output in mrproper > > Makefile | 1 + > tools/testing/selftests/Makefile | 8 ++--- > tools/testing/selftests/kselftest/runner.sh | 3 +- > tools/testing/selftests/run_kselftest.sh | 46 +++++++++++++++++++++-------- > 4 files changed, 40 insertions(+), 18 deletions(-) Thank you Ricardo. I applied the series to linux_kselftest next I had to fix a minor merge conflict when I applied patch v2. Please check to see if everything looks sane. thanks, -- Shuah