Skip to contentSkip to conversation

uclibc-ng-test: new package

PATCH Superseded Waldemar Brodkorb 2 participants 4 messages Nov 18, 2016 – Dec 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 uclibc-ng-test: new package

The next release of uClibc-ng (1.0.20) will remove the test suite. Add a separate package before the next release.

---
v1 -> v2:
- rename package suggested by Arnout and Thomas P.
- add better description to Config.in
- use upstream provided install target suggested by Arnout
- add more comments
- refresh to latest upstream git hash

---
 package/Config.in                        |  1 +
 package/uclibc-ng-test/Config.in         | 19 ++++++++++++++
 package/uclibc-ng-test/uclibc-ng-test.mk | 45 ++++++++++++++++++++++++++++++++
 3 files changed, 65 insertions(+)
 create mode 100644 package/uclibc-ng-test/Config.in
 create mode 100644 package/uclibc-ng-test/uclibc-ng-test.mk
package/Config.in +1 -0
index 7c91215..b2e1a2a 100644
@@ -114,6 +114,7 @@ menu "Debugging, profiling and benchmark"
 	source "package/tinymembench/Config.in"
 	source "package/trace-cmd/Config.in"
 	source "package/trinity/Config.in"
+	source "package/uclibc-ng-test/Config.in"
 	source "package/valgrind/Config.in"
 	source "package/whetstone/Config.in"
 endmenu
package/uclibc-ng-test/Config.in new file +19 -0
new file mode 100644
index 0000000..2ab6967
@@ -0,0 +1,19 @@
+config BR2_PACKAGE_UCLIBC_NG_TEST
+	bool "uclibc-ng-test"
+	help
+	  Enabling this option will compile and install the uClibc-ng test suite.
+	  This is useful if you want to check if the uClibc-ng library is working
+	  for your architecture and/or help developing uClibc-ng.
+
+	  The test suite will be installed into /usr/lib/uclibc-ng-test directory.
+	  To run the test suite enter the /usr/lib/uclibc-ng-test/test directory
+	  and type "sh uclibcng-testrunner.sh".
+
+	  See the /usr/lib/uclibc-ng-test/test/README for additional information.
+
+	  This is not needed at all for normal builds, so you can safely say no
+	  if you do not plan to dig into your C library.
+
+	  The tests can also be used for GNU libc or musl.
+
+	  http://www.uclibc-ng.org
package/uclibc-ng-test/uclibc-ng-test.mk new file +45 -0

45 lines not on this page · raw message

Signature · 1 line
2.1.4
#1 lore raw

PATCH v2 1/1 uclibc-ng-test: new package

Hello,

package/uclibc-ng-test/Config.in line 15

Quoted 12 lines · Waldemar Brodkorb
package/uclibc-ng-test/Config.in new file +12 -0
+	  Enabling this option will compile and install the uClibc-ng test suite.
+	  This is useful if you want to check if the uClibc-ng library is working
+	  for your architecture and/or help developing uClibc-ng.
+
+	  The test suite will be installed into /usr/lib/uclibc-ng-test directory.
+	  To run the test suite enter the /usr/lib/uclibc-ng-test/test directory
+	  and type "sh uclibcng-testrunner.sh".
+
+	  See the /usr/lib/uclibc-ng-test/test/README for additional information.
+
+	  This is not needed at all for normal builds, so you can safely say no
+	  if you do not plan to dig into your C library.

The lines in this help text were too long, so I rewrapped them, and applied your patch to our next branch. Thanks!

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 uclibc-ng-test: new package

In reply to Waldemar Brodkorb

Hello,

Quoted 4 lines · Waldemar Brodkorb

The next release of uClibc-ng (1.0.20) will remove the test suite. Add a separate package before the next release.

This new package causes quite a few build failures:

http://autobuild.buildroot.net/?reason=uclibc-ng-test-4ad1c23ae2eb30888cda520c739cc26150512487

Could you have a look?

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#3 lore raw

PATCH v2 1/1 uclibc-ng-test: new package

Hi Thomas,
Thomas Petazzoni wrote,

Quoted 11 lines

Hello,

Quoted 4 lines · Waldemar Brodkorb

The next release of uClibc-ng (1.0.20) will remove the test suite. Add a separate package before the next release.

This new package causes quite a few build failures:

http://autobuild.buildroot.net/?reason=uclibc-ng-test-4ad1c23ae2eb30888cda520c739cc26150512487

Yes, seen them and they are on my TODO.

Quoted 1 line

Could you have a look?

A first patch sent out, hopefully fixing some of them.

best regards
Waldemar