Skip to contentSkip to conversation

doc: Drop uClinux support

PATCH New Petr Vorel 2 participants 5 messages May 31, 2021 – Jun 2, 2021

lore
Share & tools
lore

Petr Vorel

author
#0 lore raw

PATCH 1/1 doc: Drop uClinux support

---
Hi,

some shorter form could be added to 3. Test Contribution Checklist [1] as well.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#3-test-contribution-checklist

 doc/maintainer-patch-review-checklist.txt | 3 +++
 1 file changed, 3 insertions(+)
doc/maintainer-patch-review-checklist.txt +3 -0
index 5420fa933..81ed61ddf 100644
@@ -44,6 +44,9 @@ New test should
 * Docparse documentation
 * If a test is a regression test it should include tags
   (more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
+* When rewritting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux
+  (?Clinux)] support should be removed (project has been discontinued).
+  E.g. `FORK_OR_VFORK()` should be replaced with simple `fork()` or `SAFE_FORK()`.
 
 ### Shell tests
 * Use new https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#23-writing-a-testcase-in-shell[shell API]
Signature · 1 line
2.31.1
author
#1 lore raw

PATCH 1/1 doc: Drop uClinux support

Hi,

[Cc: Mike ]

Quoted 19 lines

---
Hi,

some shorter form could be added to 3. Test Contribution Checklist [1] as well.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#3-test-contribution-checklist

 doc/maintainer-patch-review-checklist.txt | 3 +++
 1 file changed, 3 insertions(+)
doc/maintainer-patch-review-checklist.txt +0 -0
index 5420fa933..81ed61ddf 100644

doc/maintainer-patch-review-checklist.txt New test should · line 52

Quoted 9 lines
doc/maintainer-patch-review-checklist.txt +3 -0
@@ -44,6 +44,9 @@ New test should
 * Docparse documentation
 * If a test is a regression test it should include tags
   (more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
+* When rewritting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux
+  (?Clinux)] support should be removed (project has been discontinued).
+  E.g. `FORK_OR_VFORK()` should be replaced with simple `fork()` or `SAFE_FORK()`.
 
 ### Shell tests
 * Use new https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#23-writing-a-testcase-in-shell[shell API]

FYI: https://github.com/uclinux-dev

But that's just archiving the project, it's safe to remove uclinux support from LTP.

Kind regards,
Petr

#2 lore raw

PATCH 1/1 doc: Drop uClinux support

In reply to Petr Vorel

Hi!

Quoted 15 lines

some shorter form could be added to 3. Test Contribution Checklist [1] as well.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#3-test-contribution-checklist

 doc/maintainer-patch-review-checklist.txt | 3 +++
 1 file changed, 3 insertions(+)
doc/maintainer-patch-review-checklist.txt +0 -0
index 5420fa933..81ed61ddf 100644

doc/maintainer-patch-review-checklist.txt New test should · line 48

Quoted 5 lines
doc/maintainer-patch-review-checklist.txt +2 -0
@@ -44,6 +44,9 @@ New test should
 * Docparse documentation
 * If a test is a regression test it should include tags
   (more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
+* When rewritting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux
+  (??Clinux)] support should be removed (project has been discontinued).

^
I would just use u instead of \textmu

doc/maintainer-patch-review-checklist.txt New test should · line 49

Quoted 1 line
doc/maintainer-patch-review-checklist.txt +1 -0
+  E.g. `FORK_OR_VFORK()` should be replaced with simple `fork()` or `SAFE_FORK()`.

+ and all #ifdef UCLINUX should be removed as well.

Signature · 2 lines
Cyril Hrubis
[email protected]
author
#3 lore raw

PATCH 1/1 doc: Drop uClinux support

Quoted 24 lines

Hi!

Quoted 15 lines

some shorter form could be added to 3. Test Contribution Checklist [1] as well.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#3-test-contribution-checklist

 doc/maintainer-patch-review-checklist.txt | 3 +++
 1 file changed, 3 insertions(+)
doc/maintainer-patch-review-checklist.txt +0 -0
index 5420fa933..81ed61ddf 100644

doc/maintainer-patch-review-checklist.txt New test should · line 48

Quoted 5 lines
doc/maintainer-patch-review-checklist.txt +2 -0
@@ -44,6 +44,9 @@ New test should
 * Docparse documentation
 * If a test is a regression test it should include tags
   (more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
+* When rewritting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux
+  (??Clinux)] support should be removed (project has been discontinued).

^
I would just use u instead of \textmu

Quoted 3 lines

doc/maintainer-patch-review-checklist.txt New test should · line 49

Quoted 1 line
doc/maintainer-patch-review-checklist.txt +1 -0
+  E.g. `FORK_OR_VFORK()` should be replaced with simple `fork()` or `SAFE_FORK()`.

+ and all #ifdef UCLINUX should be removed as well.

Oh yes, ifdefs were the primary reason for me to document this.

If nobody objects, I'll merge this tomorrow with your Reviewed-by: tag.

Kind regards,
Petr

author
#4 lore raw

PATCH 1/1 doc: Drop uClinux support

In reply to Cyril Hrubis
Quoted 24 lines

Hi!

Quoted 15 lines

some shorter form could be added to 3. Test Contribution Checklist [1] as well.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#3-test-contribution-checklist

 doc/maintainer-patch-review-checklist.txt | 3 +++
 1 file changed, 3 insertions(+)
doc/maintainer-patch-review-checklist.txt +0 -0
index 5420fa933..81ed61ddf 100644

doc/maintainer-patch-review-checklist.txt New test should · line 48

Quoted 5 lines
doc/maintainer-patch-review-checklist.txt +2 -0
@@ -44,6 +44,9 @@ New test should
 * Docparse documentation
 * If a test is a regression test it should include tags
   (more in https://github.com/linux-test-project/ltp/wiki/Test-Writing-Guidelines#2238-test-tags[Test tags])
+* When rewritting old tests, https://en.wikipedia.org/wiki/%CE%9CClinux[uClinux
+  (??Clinux)] support should be removed (project has been discontinued).

^
I would just use u instead of \textmu

Quoted 3 lines

doc/maintainer-patch-review-checklist.txt New test should · line 49

Quoted 1 line
doc/maintainer-patch-review-checklist.txt +1 -0
+  E.g. `FORK_OR_VFORK()` should be replaced with simple `fork()` or `SAFE_FORK()`.

+ and all #ifdef UCLINUX should be removed as well.

Fixed and merged.

Thanks!

Kind regards,
Petr