From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (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 4924530C348 for ; Wed, 19 Nov 2025 22:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763589693; cv=none; b=l0TGPXqgzLpQQJE42sH/DAarVgqteCCfEZWOUjc9aEgow4m+ke3odO1LvpPjn7oqJAvSePSCynbiDIX06ZNZ+LuGgiaQRJNY5/E42HOZnZf9h3c7088uzEx9YE38LRzHeruQqDGTPjl2Vl9xZmHd7Yvu66+lK1APipzf5IdX1BI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763589693; c=relaxed/simple; bh=sTNM+eetDMLzbtcPH15QRyjwnHthvPaDJDP7T+PXblM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=d+eQrqlOrunPlIeazyVGzNvzserTgqSvaep5s4oNcmro96RnaBEcrJbEwM37/KAOL2Mxqqqs14/O+WWT5YlxE+4PpB+PPM6l88mBb2Zh/o67eZN10ClxeSbYb3ZCfCxrBc7k+lPJWHi5uu5NvbjNgn8eC96tXV9GZxG2bYyJ3hk= 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=CvrFfAgF; arc=none smtp.client-ip=209.85.166.48 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="CvrFfAgF" Received: by mail-io1-f48.google.com with SMTP id ca18e2360f4ac-9487e2b9622so9032839f.2 for ; Wed, 19 Nov 2025 14:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1763589690; x=1764194490; 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=7GN49LcihNJnWa0tgk2hlbtspHwfpuAFqeIds4vxqiA=; b=CvrFfAgF5P27JWqzgxI02cgmjngUtdZ49MulFgKyd3jtKBdoLsddngcDqgIY4Ksrmn wGPIbJWsGZ6wh2cY9iqG1zJVtES4sG+9Kmxs1Q1JbPC6sEPChJRh0KHzfln6nD/3sPKc 5yPgWzcn942ERxhIabn4BJQIBBRUpE26Mu/H0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763589690; x=1764194490; 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=7GN49LcihNJnWa0tgk2hlbtspHwfpuAFqeIds4vxqiA=; b=Kg5Av+Vbm5m51z4Jh8SmxQ8pPdtZJx1Vu7X0VdTPEim1uiFxO/GfyAwTeqKgKwVxmq ayxqNEvA5j97dBO3JieJOWKhL8bCykh3GKuIJMgMSJXz5o8m+q4vwdRYFwJYIM0mbo4N EgXikV8YJOwgVecKMU4TlboRzeJxVaIPJHcqu22yuKeNGXW5WxthNMAVrSl3xOg/z0nP ew2WnSNRidKWZYfwpidLbtLYNGbK8fBZIL7vuj2agb/gwi8InDfudUpTMPxdbPgtbpMV rtQr/tFPGY7QXCoXmdvEj8dpozw5fnwiOazQTovp5EOTwJVzIBgV95+WHiDiaRhQCdFp 9fAw== X-Forwarded-Encrypted: i=1; AJvYcCWqZUYNhfn4UedsuYjlbKQ2fcwBEDk5nSKxGLIloMfuDJps+JfWtWrnCcfvt8TD99n7QlExxVkVvENmJkk=@vger.kernel.org X-Gm-Message-State: AOJu0Yz28NNP6ujAx/z/fvSLLXt/ywhGHqLmLkKc99pvACf+JlEBh78q xXBVGKe//D9M+atPaCDCI2Ej++np7bXC+nZXZ0ZhgRVVKv8jqKqO0h2K7Ab5pLPJt8I= X-Gm-Gg: ASbGncu1niNDnXPJR08nSECK702isZ/WV1aeQayYYV22zfmbDfdyKMhofPymzTiJj5i qI0G3xPuW9mtl97jgGxoPy8iHsMamxgIOMgzY0Vlpb0VoiNkuZkR5U9ye+cE93IB6MpL1Siz8im t2/tBR7u5bWZq9HB9x5q6ZLdDa7/LcxwJXdHVlP8LaQjPEUHvJ7AEEWYlffvS0TJ6RUOjIu5JIS SUcRVHtH1GT60E6iWUjumHdpRB4Vz6OiWh7rLWM6pxoE30g/0FeFegEvGOGwGNwXOck0HoKb98T OSrUqGxNuWN3T+HnowMPuBbRsrbEeTQpwEM58F8IeztWqVibIr9naakDlbHBYqB6eqGEC0cWJhy k4gO+whNami1IiIrRhTzttNP0oCdOigm1J7cMgi1EquNF7tnQNfimEoQrUweoFyW+rqhM28Oh4h M6o6b45CfwqWec3m54aFn0TcLbx0VSTBFukZFwLLVeY9WO X-Google-Smtp-Source: AGHT+IFTYmi0TaiIruPAD2rhSBWx11UXKJJX+It5AR6pod5m2drICz0clb+z4wjxNh6cCM0jB/HWhg== X-Received: by 2002:a05:6602:6c1a:b0:948:a3ca:15c1 with SMTP id ca18e2360f4ac-94938a1b82bmr63975139f.3.1763589690176; Wed, 19 Nov 2025 14:01:30 -0800 (PST) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id ca18e2360f4ac-94938651ce7sm23675539f.10.2025.11.19.14.01.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Nov 2025 14:01:28 -0800 (PST) Message-ID: <74d8f1bc-e2e0-4c14-b0b2-b1d9380a5b95@linuxfoundation.org> Date: Wed, 19 Nov 2025 15:01:27 -0700 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 RESEND v3] selftests/run_kselftest.sh: exit with error if tests fail To: Brendan Jackman , Shuah Khan Cc: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20251111-b4-ksft-error-on-fail-v3-1-0951a51135f6@google.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20251111-b4-ksft-error-on-fail-v3-1-0951a51135f6@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/11/25 10:36, Brendan Jackman wrote: > Parsing KTAP is quite an inconvenience, but most of the time the thing > you really want to know is "did anything fail"? > > Let's give the user the his information without them needing > to parse anything. > > Because of the use of subshells and namespaces, this needs to be > communicated via a file. Just write arbitrary data into the file and > treat non-empty content as a signal that something failed. > > In case any user depends on the current behaviour, such as running this > from a script with `set -e` and parsing the result for failures > afterwards, add a flag they can set to get the old behaviour, namely > --no-error-on-fail. > > Signed-off-by: Brendan Jackman Applied to linux-kselftest next for Linux 6.19-rc1 thanks, -- Shuah