[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFd5g478+t3b2rVOUJmD_wGH=cLYMYfbWeWogMB8C6LK7DotRA@mail.gmail.com>
Date: Mon, 16 Mar 2020 13:30:57 -0700
From: Brendan Higgins <brendanhiggins@...gle.com>
To: Heidi Fahim <heidifahim@...gle.com>
Cc: shuah <shuah@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"open list:KERNEL SELFTEST FRAMEWORK"
<linux-kselftest@...r.kernel.org>,
KUnit Development <kunit-dev@...glegroups.com>
Subject: Re: [PATCH v3 2/2] kunit: Run all KUnit tests through allyesconfig
On Mon, Mar 16, 2020 at 1:21 PM Heidi Fahim <heidifahim@...gle.com> wrote:
>
> Implemented the functionality to run all KUnit tests through kunit_tool
> by specifying an --alltests flag, which builds UML with allyesconfig
> enabled, and consequently runs every KUnit test. A new function was
> added to kunit_kernel: make_allyesconfig.
> Firstly, if --alltests is specified, kunit.py triggers build_um_kernel
> which call make_allyesconfig. This function calls the make command,
> disables the broken configs that would otherwise prevent UML from
> building, then starts the kernel with all possible configurations
> enabled. All stdout and stderr is sent to test.log and read from there
> then fed through kunit_parser to parse the tests to the user. Also added
> a signal_handler in case kunit is interrupted while running.
> Tested: Run under different conditions such as testing with
> --raw_output, testing program interrupt then immediately running kunit
> again without --alltests and making sure to clean the console.
>
> Signed-off-by: Heidi Fahim <heidifahim@...gle.com>
Reviewed-by: Brendan Higgins <brendanhiggins@...gle.com>
Powered by blists - more mailing lists