[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGS_qxpMJtuqOvOhqXa-dMzvQX_88hnidCPxZhWFVdedxxSfoQ@mail.gmail.com>
Date: Fri, 15 Jul 2022 09:09:03 -0700
From: Daniel Latypov <dlatypov@...gle.com>
To: David Gow <davidgow@...gle.com>
Cc: Brendan Higgins <brendanhiggins@...gle.com>,
Marco Elver <elver@...gle.com>,
Shuah Khan <skhan@...uxfoundation.org>,
Dmitry Vyukov <dvyukov@...gle.com>, kunit-dev@...glegroups.com,
linux-kselftest@...r.kernel.org, kasan-dev@...glegroups.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] kcsan: test: Add a .kunitconfig to run KCSAN tests
On Thu, Jul 14, 2022 at 11:41 PM 'David Gow' via KUnit Development
<kunit-dev@...glegroups.com> wrote:
>
> Add a .kunitconfig file, which provides a default, working config for
> running the KCSAN tests. Note that it needs to run on an SMP machine, so
> to run under kunit_tool, the --qemu_args option should be used (on a
> supported architecture, like x86_64). For example:
> ./tools/testing/kunit/kunit.py run --arch=x86_64 --qemu_args='-smp 8'
> --kunitconfig=kernel/kcsan
>
> Signed-off-by: David Gow <davidgow@...gle.com>
> Reviewed-by: Marco Elver <elver@...gle.com>
> Acked-by: Brendan Higgins <brendanhiggins@...gle.com>
Tested-by: Daniel Latypov <dlatypov@...gle.com>
Ran it and everything worked as expected.
[16:06:34] Testing complete. Ran 141 tests: passed: 140, skipped: 1
[16:06:34] Elapsed time: 70.861s total, 0.002s configuring, 3.519s
building, 67.276s running
Ran again with --kconfig_add=CONFIG_KCSAN_STRICT=y
[16:08:29] Testing complete. Ran 141 tests: passed: 141
[16:08:29] Elapsed time: 83.355s total, 1.557s configuring, 24.188s
building, 57.582s running
Powered by blists - more mailing lists