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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C19DC433EF for ; Sat, 21 May 2022 06:44:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240278AbiEUGom (ORCPT ); Sat, 21 May 2022 02:44:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230493AbiEUGol (ORCPT ); Sat, 21 May 2022 02:44:41 -0400 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA1D815EA4C; Fri, 20 May 2022 23:44:40 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: usama.anjum) with ESMTPSA id 341E41F469C3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1653115479; bh=vZubmbERibb5UaHu4PMlVt8DMsGhoRyewNkbdIiKYd0=; h=Date:Cc:From:Subject:To:From; b=gNXRFxou8H8JO0cVZ302YdprJ1+fZ5ZMjEoEOX1307xylbiC+nise/Jr16E//xkID Ct82n3t5g3WVn1G9SSxhICp1yIFcwzy1xCZ+2FSPIQo5Bi+hhBbG7jmm/lCTa+lqyU r//BWJIoUNYnyMLV24AXOZ8HTpqpSpk1xC9J5Z8wvVuEE083Q0DZ0yPwJB9a3FOCVi OOAevZ02WZxPKyiQmVJwGte6yyqju6v9tGcfGky4H/1iGBoboYLeRgKex0ZK7wNK1X SXzFbjNJvrTLRViz3tDbbBJn2tjk1hYUL2VrkZsmbn17lwGPJMeI/2Z8q/uRoZF8RL T1i53NT0TlDnQ== Message-ID: Date: Sat, 21 May 2022 11:44:32 +0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Cc: usama.anjum@collabora.com, Shuah Khan , KERNEL SELFTEST FRAMEWORK , Linux Kbuild mailing list , LKML , "kernelci@groups.io" Content-Language: en-US From: Muhammad Usama Anjum Subject: [Bug Report] - kselftest build fails if output directory is first level sub-directory To: Masahiro Yamada , Michal Marek , Nick Desaulniers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org Hello, kselftest can be built using the kernel's top most Makefile without using kselftest's Makefile directly. But there is bug in the top most Makefile. The build fails if the specified output directory is first level sub-directory. Here is a example to reproduce this bug: make kselftest-all O=build "The Make is working in a wrong directory, that is why the relative path does not work." Masahiro Yamada. Feel free to fix it if someone pin the bug. It should be noted that the build works in some other combinations: make kselftest-all (works) make kselftest-all O=/tmp (works) make kselftest-all O=build/build2 (works) My unsuccessful attempt to fix this bug can be found here: https://lore.kernel.org/lkml/20220223191016.1658728-1-usama.anjum@collabora.com/ Thanks, Muhammad Usama Anjum