diff mbox series

docs/kselftest: Fix build commands in guidelines

Message ID 20220704083426.1867401-1-usama.anjum@collabora.com (mailing list archive)
State New
Headers show
Series docs/kselftest: Fix build commands in guidelines | expand

Commit Message

Muhammad Usama Anjum July 4, 2022, 8:34 a.m. UTC
Build commands start with "make". It is missing. Add "make" to the start
of the build command.

Fixes: 820636106342 ("docs/kselftest: add more guidelines for adding new tests")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
---
 Documentation/dev-tools/kselftest.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Shuah Khan July 8, 2022, 4:51 p.m. UTC | #1
On 7/4/22 2:34 AM, Muhammad Usama Anjum wrote:
> Build commands start with "make". It is missing. Add "make" to the start
> of the build command.
> 
> Fixes: 820636106342 ("docs/kselftest: add more guidelines for adding new tests")
> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
> ---
>   Documentation/dev-tools/kselftest.rst | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
> index ee6467ca8293..9dd94c334f05 100644
> --- a/Documentation/dev-tools/kselftest.rst
> +++ b/Documentation/dev-tools/kselftest.rst
> @@ -255,9 +255,9 @@ Contributing new tests (details)
>   
>    * All changes should pass::
>   
> -    kselftest-{all,install,clean,gen_tar}
> -    kselftest-{all,install,clean,gen_tar} O=abo_path
> -    kselftest-{all,install,clean,gen_tar} O=rel_path
> +    make kselftest-{all,install,clean,gen_tar}
> +    make kselftest-{all,install,clean,gen_tar} O=abs_path
> +    make kselftest-{all,install,clean,gen_tar} O=rel_path
>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>       make -C tools/testing/selftests {all,install,clean,gen_tar} O=abs_path
>       make -C tools/testing/selftests {all,install,clean,gen_tar} O=rel_path
> 

Looks like it depends on a patch already in doc tree?

Acked-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah
Muhammad Usama Anjum July 26, 2022, 4:59 a.m. UTC | #2
On 7/8/22 9:51 PM, Shuah Khan wrote:
> On 7/4/22 2:34 AM, Muhammad Usama Anjum wrote:
>> Build commands start with "make". It is missing. Add "make" to the start
>> of the build command.
>>
>> Fixes: 820636106342 ("docs/kselftest: add more guidelines for adding
>> new tests")
>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
>> ---
>>   Documentation/dev-tools/kselftest.rst | 6 +++---
>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/dev-tools/kselftest.rst
>> b/Documentation/dev-tools/kselftest.rst
>> index ee6467ca8293..9dd94c334f05 100644
>> --- a/Documentation/dev-tools/kselftest.rst
>> +++ b/Documentation/dev-tools/kselftest.rst
>> @@ -255,9 +255,9 @@ Contributing new tests (details)
>>      * All changes should pass::
>>   -    kselftest-{all,install,clean,gen_tar}
>> -    kselftest-{all,install,clean,gen_tar} O=abo_path
>> -    kselftest-{all,install,clean,gen_tar} O=rel_path
>> +    make kselftest-{all,install,clean,gen_tar}
>> +    make kselftest-{all,install,clean,gen_tar} O=abs_path
>> +    make kselftest-{all,install,clean,gen_tar} O=rel_path
>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>> O=abs_path
>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>> O=rel_path
>>
> 
> Looks like it depends on a patch already in doc tree?
Yes, the dependent patch is in doc tree. Corbet should pick up this patch.

> Acked-by: Shuah Khan <skhan@linuxfoundation.org>
> 
> thanks,
> -- Shuah
Muhammad Usama Anjum Aug. 4, 2022, 3:18 p.m. UTC | #3
On 7/26/22 9:59 AM, Muhammad Usama Anjum wrote:
> On 7/8/22 9:51 PM, Shuah Khan wrote:
>> On 7/4/22 2:34 AM, Muhammad Usama Anjum wrote:
>>> Build commands start with "make". It is missing. Add "make" to the start
>>> of the build command.
>>>
>>> Fixes: 820636106342 ("docs/kselftest: add more guidelines for adding
>>> new tests")
>>> Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
>>> ---
>>>   Documentation/dev-tools/kselftest.rst | 6 +++---
>>>   1 file changed, 3 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/Documentation/dev-tools/kselftest.rst
>>> b/Documentation/dev-tools/kselftest.rst
>>> index ee6467ca8293..9dd94c334f05 100644
>>> --- a/Documentation/dev-tools/kselftest.rst
>>> +++ b/Documentation/dev-tools/kselftest.rst
>>> @@ -255,9 +255,9 @@ Contributing new tests (details)
>>>      * All changes should pass::
>>>   -    kselftest-{all,install,clean,gen_tar}
>>> -    kselftest-{all,install,clean,gen_tar} O=abo_path
>>> -    kselftest-{all,install,clean,gen_tar} O=rel_path
>>> +    make kselftest-{all,install,clean,gen_tar}
>>> +    make kselftest-{all,install,clean,gen_tar} O=abs_path
>>> +    make kselftest-{all,install,clean,gen_tar} O=rel_path
>>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>>> O=abs_path
>>>       make -C tools/testing/selftests {all,install,clean,gen_tar}
>>> O=rel_path
>>>
>>
>> Looks like it depends on a patch already in doc tree?
> Yes, the dependent patch is in doc tree. Corbet should pick up this patch.
Reminder!

>> Acked-by: Shuah Khan <skhan@linuxfoundation.org>
>>
>> thanks,
>> -- Shuah
>
diff mbox series

Patch

diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst
index ee6467ca8293..9dd94c334f05 100644
--- a/Documentation/dev-tools/kselftest.rst
+++ b/Documentation/dev-tools/kselftest.rst
@@ -255,9 +255,9 @@  Contributing new tests (details)
 
  * All changes should pass::
 
-    kselftest-{all,install,clean,gen_tar}
-    kselftest-{all,install,clean,gen_tar} O=abo_path
-    kselftest-{all,install,clean,gen_tar} O=rel_path
+    make kselftest-{all,install,clean,gen_tar}
+    make kselftest-{all,install,clean,gen_tar} O=abs_path
+    make kselftest-{all,install,clean,gen_tar} O=rel_path
     make -C tools/testing/selftests {all,install,clean,gen_tar}
     make -C tools/testing/selftests {all,install,clean,gen_tar} O=abs_path
     make -C tools/testing/selftests {all,install,clean,gen_tar} O=rel_path