* Re: [PATCH v2] Input: Add KUnit tests for some of the input core helper functions [not found] <20230330081831.2291351-1-javierm@redhat.com> @ 2023-03-30 10:53 ` kernel test robot 2023-03-30 11:12 ` Javier Martinez Canillas 0 siblings, 1 reply; 3+ messages in thread From: kernel test robot @ 2023-03-30 10:53 UTC (permalink / raw) To: Javier Martinez Canillas, linux-kernel Cc: oe-kbuild-all, Enric Balletbo i Serra, Brendan Higgins, linux-kselftest, Maíra Canal, David Gow, Daniel Latypov, kunit-dev, Maxime Ripard, Javier Martinez Canillas, Dmitry Torokhov, linux-input Hi Javier, I love your patch! Perhaps something to improve: [auto build test WARNING on 3a93e40326c8f470e71d20b4c42d36767450f38f] url: https://github.com/intel-lab-lkp/linux/commits/Javier-Martinez-Canillas/Input-Add-KUnit-tests-for-some-of-the-input-core-helper-functions/20230330-162045 base: 3a93e40326c8f470e71d20b4c42d36767450f38f patch link: https://lore.kernel.org/r/20230330081831.2291351-1-javierm%40redhat.com patch subject: [PATCH v2] Input: Add KUnit tests for some of the input core helper functions config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20230330/202303301815.kRKFM3NH-lkp@intel.com/config) compiler: powerpc-linux-gcc (GCC) 12.1.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/intel-lab-lkp/linux/commit/c0455fa125039a03d011836a8f82a2427591e51c git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Javier-Martinez-Canillas/Input-Add-KUnit-tests-for-some-of-the-input-core-helper-functions/20230330-162045 git checkout c0455fa125039a03d011836a8f82a2427591e51c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot <lkp@intel.com> | Link: https://lore.kernel.org/oe-kbuild-all/202303301815.kRKFM3NH-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/clk/.kunitconfig: warning: ignored by one of the .gitignore files drivers/gpu/drm/tests/.kunitconfig: warning: ignored by one of the .gitignore files drivers/gpu/drm/vc4/tests/.kunitconfig: warning: ignored by one of the .gitignore files drivers/hid/.kunitconfig: warning: ignored by one of the .gitignore files >> drivers/input/tests/.kunitconfig: warning: ignored by one of the .gitignore files fs/ext4/.kunitconfig: warning: ignored by one of the .gitignore files fs/fat/.kunitconfig: warning: ignored by one of the .gitignore files kernel/kcsan/.kunitconfig: warning: ignored by one of the .gitignore files lib/kunit/.kunitconfig: warning: ignored by one of the .gitignore files mm/kfence/.kunitconfig: warning: ignored by one of the .gitignore files net/sunrpc/.kunitconfig: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/run_tags_test.sh: warning: ignored by one of the .gitignore files tools/testing/selftests/arm64/tags/tags_test.c: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/.gitignore: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/Makefile: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/config: warning: ignored by one of the .gitignore files tools/testing/selftests/kvm/settings: warning: ignored by one of the .gitignore files -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Input: Add KUnit tests for some of the input core helper functions 2023-03-30 10:53 ` [PATCH v2] Input: Add KUnit tests for some of the input core helper functions kernel test robot @ 2023-03-30 11:12 ` Javier Martinez Canillas 2023-03-30 16:00 ` Daniel Latypov 0 siblings, 1 reply; 3+ messages in thread From: Javier Martinez Canillas @ 2023-03-30 11:12 UTC (permalink / raw) To: kernel test robot, linux-kernel Cc: oe-kbuild-all, Enric Balletbo i Serra, Brendan Higgins, linux-kselftest, Maíra Canal, David Gow, Daniel Latypov, kunit-dev, Maxime Ripard, Dmitry Torokhov, linux-input kernel test robot <lkp@intel.com> writes: Hello, [...] > > All warnings (new ones prefixed by >>): > > drivers/clk/.kunitconfig: warning: ignored by one of the .gitignore files > drivers/gpu/drm/tests/.kunitconfig: warning: ignored by one of the .gitignore files > drivers/gpu/drm/vc4/tests/.kunitconfig: warning: ignored by one of the .gitignore files > drivers/hid/.kunitconfig: warning: ignored by one of the .gitignore files >>> drivers/input/tests/.kunitconfig: warning: ignored by one of the .gitignore files KUnit folks, what should we do about this? I believe the correct thing here would be for these dot-files to not be ignored by git. Not only to prevent these reports, but also to avoid the need to add them using `git add -f`, since is quite error prone and easy to miss. I was thinking about posting the following patch: From f1dc1733001682886458c23b676123635bc29da0 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas <javierm@redhat.com> Date: Thu, 30 Mar 2023 13:04:42 +0200 Subject: [PATCH] .gitignore: Exclude KUnit config dot-files There's a rule to ignore all the dot-files (.*) but we want to exclude the config files used by KUnit (.kunitconfig) since those are usually added to allow executing test suites without having to enable custom config options. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 70ec6037fa7a..7f86e0837909 100644 --- a/.gitignore +++ b/.gitignore @@ -103,6 +103,7 @@ modules.order !.get_maintainer.ignore !.gitattributes !.gitignore +!.kunitconfig !.mailmap !.rustfmt.toml base-commit: 197b6b60ae7bc51dd0814953c562833143b292aa -- 2.40.0 -- Best regards, Javier Martinez Canillas Core Platforms Red Hat ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] Input: Add KUnit tests for some of the input core helper functions 2023-03-30 11:12 ` Javier Martinez Canillas @ 2023-03-30 16:00 ` Daniel Latypov 0 siblings, 0 replies; 3+ messages in thread From: Daniel Latypov @ 2023-03-30 16:00 UTC (permalink / raw) To: Javier Martinez Canillas Cc: kernel test robot, linux-kernel, oe-kbuild-all, Enric Balletbo i Serra, Brendan Higgins, linux-kselftest, Maíra Canal, David Gow, kunit-dev, Maxime Ripard, Dmitry Torokhov, linux-input On Thu, Mar 30, 2023 at 4:12 AM Javier Martinez Canillas <javierm@redhat.com> wrote: > > kernel test robot <lkp@intel.com> writes: > > Hello, > > [...] > > > > > All warnings (new ones prefixed by >>): > > > > drivers/clk/.kunitconfig: warning: ignored by one of the .gitignore files > > drivers/gpu/drm/tests/.kunitconfig: warning: ignored by one of the .gitignore files > > drivers/gpu/drm/vc4/tests/.kunitconfig: warning: ignored by one of the .gitignore files > > drivers/hid/.kunitconfig: warning: ignored by one of the .gitignore files > >>> drivers/input/tests/.kunitconfig: warning: ignored by one of the .gitignore files > > KUnit folks, what should we do about this? I believe the correct thing > here would be for these dot-files to not be ignored by git. > > Not only to prevent these reports, but also to avoid the need to add > them using `git add -f`, since is quite error prone and easy to miss. > > I was thinking about posting the following patch: > > From f1dc1733001682886458c23b676123635bc29da0 Mon Sep 17 00:00:00 2001 > From: Javier Martinez Canillas <javierm@redhat.com> > Date: Thu, 30 Mar 2023 13:04:42 +0200 > Subject: [PATCH] .gitignore: Exclude KUnit config dot-files Ah, I forgot/didn't realize lkp bot was complaining about .kunitconfig's. Agreed, we should go with something like that. As I noted in my reply on the patch, there was a previous patch to do just the same thing here, https://lore.kernel.org/linux-kselftest/20230127145708.12915-1-andriy.shevchenko@linux.intel.com/ I'm not sure who is intended to pick up the patch, but maybe bringing up the fact this causes spurious warnings will help argue for the change. Thanks, Daniel ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-30 16:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <20230330081831.2291351-1-javierm@redhat.com> 2023-03-30 10:53 ` [PATCH v2] Input: Add KUnit tests for some of the input core helper functions kernel test robot 2023-03-30 11:12 ` Javier Martinez Canillas 2023-03-30 16:00 ` Daniel Latypov
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).