Skip to contentSkip to conversation

uclibc: fix testsuite

PATCH New Gustavo Zacarias 2 participants 2 messages Feb 10, 2016 – Feb 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uclibc: fix testsuite

Unless the tests are built with TEST_INSTALLED_UCLIBC their rpath will point to the build directory rather than runtime directory, resulting in non-executable tests for the target.

---
 package/uclibc/uclibc.mk | 1 +
 1 file changed, 1 insertion(+)
package/uclibc/uclibc.mk +1 -0
index 773b22a..200de04 100644
@@ -386,6 +386,7 @@ ifeq ($(BR2_UCLIBC_INSTALL_TEST_SUITE),y)
 define UCLIBC_BUILD_TEST_SUITE
 	$(MAKE1) -C $(@D) \
 		$(UCLIBC_MAKE_FLAGS) \
+		TEST_INSTALLED_UCLIBC=1 \
 		UCLIBC_ONLY=1 \
 		test_compile
 endef
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 uclibc: fix testsuite

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

Unless the tests are built with TEST_INSTALLED_UCLIBC their rpath will point to the build directory rather than runtime directory, resulting in non-executable tests for the target.

---
 package/uclibc/uclibc.mk | 1 +
 1 file changed, 1 insertion(+)

Applied to master, thanks!

Thomas

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