Documentation: Kunit: Use full path to .kunitconfig
Subsystems (4)
PATCH v2 1/1 Documentation: Kunit: Use full path to .kunitconfig
The fourth list item on writing test cases instructs adding Kconfig fragments to .kunitconfig, which should have been full path to the file (.kunit/.kunitconfig).
---
Changes since v1:
- Update commit message
- Make the instruction more descriptive
Documentation/dev-tools/kunit/start.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/dev-tools/kunit/start.rst +1 -1
@@ -217,7 +217,7 @@ Now we are ready to write the test cases. obj-$(CONFIG_MISC_EXAMPLE_TEST) += example_test.o -4. Add the following lines to ``.kunitconfig``: +4. Add following configuration fragments to ``.kunit/.kunitconfig``: .. code-block:: none
Signature · 1 line
2.37.3
Quoted 21 lines · Khalid Masum
The fourth list item on writing test cases instructs adding
Kconfigfragments to .kunitconfig, which should have been full path to the file (.kunit/.kunitconfig).Cc Sadiya Kazi <[email protected]>Cc David Gow <[email protected]>Suggested-by Bagas Sanjaya <[email protected]>Signed-off-by Khalid Masum <[email protected]>---
Changes since v1:
- Update commit message
- Make the instruction more descriptiveDocumentation/dev-tools/kunit/start.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/dev-tools/kunit/start.rst +0
-0
Documentation/dev-tools/kunit/start.rst Now we are ready to write the test cases. · line 223
Quoted 8 lines
Documentation/dev-tools/kunit/start.rst +1
-1@@ -217,7 +217,7 @@ Now we are ready to write the test cases. obj-$(CONFIG_MISC_EXAMPLE_TEST) += example_test.o -4. Add the following lines to ``.kunitconfig``: +4. Add following configuration fragments to ``.kunit/.kunitconfig``: .. code-block:: none
Looks OK, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 5 lines · Khalid Masum
The fourth list item on writing test cases instructs adding
Kconfigfragments to .kunitconfig, which should have been full path to the file (.kunit/.kunitconfig).
Quoted 9 lines
Cc Sadiya Kazi <[email protected]>Cc David Gow <[email protected]>Suggested-by Bagas Sanjaya <[email protected]>Signed-off-by Khalid Masum <[email protected]>---
Changes since v1:
- Update commit message
- Make the instruction more descriptive
I confess, I think I prefer v1 overall here. Further notes below.
If there are no further objections, I'll continue to propose v1 for 6.1.
Cheers,
-- David
Documentation/dev-tools/kunit/start.rst Now we are ready to write the test cases. · line 220
Quoted 13 lines
Documentation/dev-tools/kunit/start.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/dev-tools/kunit/start.rst +1
-1@@ -217,7 +217,7 @@ Now we are ready to write the test cases. obj-$(CONFIG_MISC_EXAMPLE_TEST) += example_test.o -4. Add the following lines to ``.kunitconfig``: +4. Add following configuration fragments to ``.kunit/.kunitconfig``:
At the risk of starting an argument, I actually preferred "the following lines" here. "configuration fragments" doesn't quite describe this perfectly, IMO. Maybe something like "config options" would work better. Otherwise, just sticking with "lines" is probably fine for the getting started guide. It's unlikely to confuse people, and there's further discussion elsewhere in the documentation.
Regardless, we definitely should keep "the" here in "Add _the_ following". "Add following" is grammatically more dubious.
Quoted 6 lines
Documentation/dev-tools/kunit/start.rst +0
-1.. code-block:: none --2.37.3