From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f67.google.com (mail-oo1-f67.google.com [209.85.161.67]) (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 E17B738BDBD for ; Wed, 7 Jan 2026 17:28:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.67 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767806935; cv=none; b=joI9PD7xRwbZlx//Q5mO3EYpNwJaqVoGKx0nNC5LpPVb3Vo4M5m/SDhxTPoUnRZo/eXcQ1usxQlgObYvimnj9Arf/Uuq2geAFRFGIW8450CDuZZHHEhl0gaAWUUEQB/iCq7EhwlW1fM4x8jLBIoTR1P24OU0o6bwWYDEgCEhhng= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1767806935; c=relaxed/simple; bh=br6zBcDuLojNVFkIXA8jR8L14Iaj/Gxz90XE4QC1fVM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=OxhPCyn6oPZ8c8N6HIWkI5VbiL45xIGO387uXZyZawEbZpL8TykPDE1donJEbNZSK54r6ImNtBbsDgo58vy8FAB9u5FKaGfw0ceZ/zQXwIwjNdUuc3tOM+KIZyooMneY+4Kg8Gsq8nmdJGOLxjTF+jRIuTpQeXuxwoPsFFafhmE= 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=cBm3kbg4; arc=none smtp.client-ip=209.85.161.67 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="cBm3kbg4" Received: by mail-oo1-f67.google.com with SMTP id 006d021491bc7-65d0952e596so747787eaf.1 for ; Wed, 07 Jan 2026 09:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1767806929; x=1768411729; 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=21eVsWr19rtU1hW9ahUpggNJDprmEQYBoATevC+1CPQ=; b=cBm3kbg4vDkcIZkHeydVYRQKuP0SP4giN92ncU716H2lfJfASzAOZQkSBgaKUfqU5p Uc6+wt4eWKCixEXqfQkX+OLkpcNaDI32CIGQgEaZ2G69ldleTlCCuEdhgZ0gyzTg6oo4 oQaIllq5erSgFPRzMkzhDuUfoi4fghBsngpYg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767806929; x=1768411729; 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=21eVsWr19rtU1hW9ahUpggNJDprmEQYBoATevC+1CPQ=; b=QnROKxpMV6mz2VZ2LPMW9xJANLAOCagl5vSSsFNfLw1Jtw2yQ4YfSLWV3wtE2yBk2x PDVmKYc420Z/v+b9NZuA31dUz+QDr+kPpA6EQ14dx44dtDy30xngknuMJAtd/zbvfjM2 ejnf0LJL6v/8F34szWjci96veqRMyoBufXrkKhUiuCQjSr1pvbzQaFGR6PlDD1sfSjsZ j0YPJZcNm5dvuxcKd9m3AtDqPLXP6imBzr21M1h5vw9g2OSGRYOLwtTL358Z3jTaZ94/ WjAnKEBt+hDL2r3PbxnTE28YHF5oOOpA70Nwt3+6HeLbQ+5YVh8wFLYXFxmrKy1QQEXP lQbw== X-Forwarded-Encrypted: i=1; AJvYcCXE/vrhkR5gyxfaUbGX0i7Owcmw8kEBPSyJqFZ7Clgy0pW+OpTeHCmLPAr44NOhX+s/Z6r3xHUcP5OYWSM=@vger.kernel.org X-Gm-Message-State: AOJu0YzOEAzXYLDUOLE3nBL1A4KtgZUiEgLQXXi+r8w8+t6Fokj2pBhP BP7XmntwBEVaZFMZNqikYGTVCkUWoptIrizxgkzxiNLwL5GFofFh/5WfeajuaXLYt60= X-Gm-Gg: AY/fxX6AqJy377X27oQuZRV9r9VR5Zfv5Q+CAhY9sJ7TF/R7fedIMThgZMd4+N5E5Ta yHII9iDVkdOA5X9I9259bVJcPmtjpBCNGNVUgij4s8vrHm7wU9qNqzn68faqndKPhwTtzNZTRo8 zticwpPusZDFij1SeWB68P1u067usyv21BoEyayAKV/GcKQrArECDoJ55Yn0DLstyPAFvjVpEHh 6VA0Q1kBao/GIj+cvyR9qUUbOm47vL12VO+LAa2N1CwoQrYbTU5XDN19a9phIViY9lO6RVhOjAC zWJSAOoYC9tAvFhB647Bi6Dr5rISsnuufu0oTlJ/d47raCYn7AxTarKFl0Lr3t4psh4GcjnWLOJ zcADEfdgPLEUKCs/nVQSzN2scF5qNVYhmWeZL/a64SPkZiyBg+0RZ9LCnTy6wD4bZC0ngO0GzkK BWyrQ5S1BPBbjobnMZ9ngaUUI= X-Google-Smtp-Source: AGHT+IFWQLMRXy5qr1fY1jc86LpzwmTcJAOQxZ2cxtES6VgjMxi/0uUaSy+pcMGImt5bnmU4h3OBhg== X-Received: by 2002:a05:6820:125:b0:659:9a49:8edc with SMTP id 006d021491bc7-65f545f5bebmr1037967eaf.16.1767806928854; Wed, 07 Jan 2026 09:28:48 -0800 (PST) Received: from [192.168.1.14] ([38.175.187.108]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-65f48ccff66sm2357694eaf.16.2026.01.07.09.28.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Jan 2026 09:28:48 -0800 (PST) Message-ID: <4efe59a7-5119-453e-a412-fc22ed314fb6@linuxfoundation.org> Date: Wed, 7 Jan 2026 10:28:47 -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 v2 2/2] kunit: tool: test: Don't rely on implicit working directory change To: David Gow , shuah@kernel.org, =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Brendan Higgins , Rae Moar Cc: linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-kernel@vger.kernel.org, Shuah Khan References: <20260107015936.2316047-1-davidgow@google.com> <20260107015936.2316047-2-davidgow@google.com> Content-Language: en-US From: Shuah Khan In-Reply-To: <20260107015936.2316047-2-davidgow@google.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 1/6/26 18:59, David Gow wrote: > From: Thomas Weißschuh > > If no kunitconfig_paths are passed to LinuxSourceTree() it falls back to > DEFAULT_KUNITCONFIG_PATH. This resolution only works when the current > working directory is the root of the source tree. This works by chance > when running the full testsuite through the default unittest runner, as > some tests will change the current working directory as a side-effect of > 'kunit.main()'. When running a single testcase or using pytest, which > resets the working directory for each test, this assumption breaks. > > Explicitly specify an empty kunitconfig for the affected tests. > > Signed-off-by: Thomas Weißschuh > Reviewed-by: David Gow > Signed-off-by: David Gow > --- > > Changes since v1: > https://lore.kernel.org/linux-kselftest/20251230-kunit-pytest-v1-2-e2dae0dae200@linutronix.de/ > - No-op rebase on top of kselftest/kunit > Thank you. Applied to linux kselftest kunit repo for Linux 6.20-rc1 thanks, -- Shuah