Skip to content

Fix nits in the kunit

[email protected] linux-doc linux-kselftest lkml 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest6 patches 0 repliesNew
  2. v66 patches 5 repliesSuperseded
  3. v45 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches6 repliesSuperseded
v25 patches1 replySuperseded
v16 patches16 repliesApplied

Changes in v7 from the cover letter

(https://lore.kernel.org/linux-doc/[email protected]/):
- Rebased on latest kselftest/fixes
- Add 'From: SeongJae Park <[email protected]>'

Patches in v7 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6docs/kunit/start: Use in-tree 'kunit_defconfig'Documentation/dev-tools/kunit/start.rst+1 -20 replies
2/6kunit: Remove duplicated defconfig creationtools/testing/kunit/kunit.py+0 -30 replies
3/6kunit: Create default config in '--build_dir'tools/testing/kunit/kunit.py tools/testing/kunit/kunit_kernel.py+11 -40 replies
4/6kunit: Place 'test.log' under the 'build_dir'tools/testing/kunit/kunit.py tools/testing/kunit/kunit_kernel.py tools/testing/kunit/kunit_tool_test.py+4 -40 replies
5/6kunit: Rename 'kunitconfig' to '.kunitconfig'Documentation/dev-tools/kunit/start.rst tools/testing/kunit/kunit.py tools/testing/kunit/kunit_kernel.py+8 -100 replies
6/6kunit/kunit_tool_test: Test '--build_dir' option runtools/testing/kunit/kunit_tool_test.py+8 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchBrendan Higgins
1/6R-b T-b
2/6R-b T-b
3/6R-b T-b
4/6R-b T-b
5/6R-b T-b
6/6R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH v7 0/6] Fix nits in the kunit

From: SeongJae Park <[email protected]>

This patchset contains trivial fixes for the kunit documentations and the wrapper python scripts.

Baseline
--------

This patchset is based on 'kselftest/fixes' branch of linux-kselftest[1]. A complete tree is available at my repo:
https://github.com/sjp38/linux/tree/kunit_fix/20191205_v6

Version History
---------------

Changes from v6
(https://lore.kernel.org/linux-doc/[email protected]/):
- Rebased on latest kselftest/fixes
- Add 'From: SeongJae Park <[email protected]>'

Changes from v5
(https://lore.kernel.org/linux-kselftest/[email protected]):
- Rebased on kselftest/fixes
- Add 'Reviewed-by' and 'Tested-by' from Brendan Higgins

Changes from v4
(https://lore.kernel.org/linux-doc/[email protected]/):
- Rebased on Heidi Fahim's patch[2]
- Fix failing kunit_tool_test test
- Add 'build_dir' option test in 'kunit_tool_test.py'

Changes from v3
(https://lore.kernel.org/linux-kselftest/[email protected]):
- Fix the 4th patch, "kunit: Place 'test.log' under the 'build_dir'" to set default value of 'build_dir' as '' instead of NULL so that kunit can run even though '--build_dir' option is not given.

Changes from v2
(https://lore.kernel.org/linux-kselftest/[email protected]):
- Make 'build_dir' if not exists (missed from v3 by mistake)

Changes from v1
(https://lore.kernel.org/linux-doc/[email protected]):
- Remove "docs/kunit/start: Skip wrapper run command" (A similar approach is ongoing)
- Make 'build_dir' if not exists

SeongJae Park (6):
docs/kunit/start: Use in-tree 'kunit_defconfig'
kunit: Remove duplicated defconfig creation
kunit: Create default config in '--build_dir'
kunit: Place 'test.log' under the 'build_dir'
kunit: Rename 'kunitconfig' to '.kunitconfig' kunit/kunit_tool_test: Test '--build_dir' option run

 Documentation/dev-tools/kunit/start.rst | 13 +++++--------
 tools/testing/kunit/kunit.py            | 18 +++++++++++-------
 tools/testing/kunit/kunit_kernel.py     | 10 +++++-----
 tools/testing/kunit/kunit_tool_test.py  | 10 +++++++++-
 4 files changed, 30 insertions(+), 21 deletions(-)
Signature · 1 line
2.17.1