7f82fe9751
Update to latest ltp-testsuite release, which resolves sparc64/sparc autobuild failures: http://autobuild.buildroot.net/results/a6445df26514dfa9cd7e5b9d34b4687d46a8d19b/ Furthermore it should fix any other uClibc-ng related issues. 0001-fix-build-on-uClibc-exp10.patch removed, as uClibc-ng 1.0.12 contains exp10() implementation. 0001-fix-uClibc-build.patch suggested upstream. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
794 B
Diff
28 lines
794 B
Diff
uClibc-ng has no profil() support
|
|
|
|
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
|
|
|
|
diff -Nur ltp-full-20160126.orig/testcases/kernel/syscalls/profil/profil01.c ltp-full-20160126/testcases/kernel/syscalls/profil/profil01.c
|
|
--- ltp-full-20160126.orig/testcases/kernel/syscalls/profil/profil01.c 2016-01-26 13:35:25.000000000 +0100
|
|
+++ ltp-full-20160126/testcases/kernel/syscalls/profil/profil01.c 2016-03-05 01:00:07.328962536 +0100
|
|
@@ -37,6 +37,9 @@
|
|
#define PROFIL_BUFLEN (32*1024)
|
|
|
|
char *TCID = "profil01";
|
|
+
|
|
+#if !defined(__UCLIBC__)
|
|
+
|
|
int TST_TOTAL = 1;
|
|
|
|
static volatile sig_atomic_t profil_done;
|
|
@@ -124,3 +127,9 @@
|
|
|
|
tst_exit();
|
|
}
|
|
+#else /* systems that dont support profil */
|
|
+int main(void)
|
|
+{
|
|
+ tst_brkm(TCONF, NULL, "system doesn't have profil support");
|
|
+}
|
|
+#endif
|