* Jérémie Galarneau <[email protected]> wrote:
> The build logs only seem to contain the "prove" output (invoked by run.sh).
>
> Could you run tests/bin/test_trace_read and
> tests/lib/test_seek_empty_packet on armel and sparc? The output of
> both of these tests and the coredumps (if any) should give me
> something to work with.
With the attached patch applied for kfreebsd, I see these failures:
make[3]: Entering directory '/home/jbernard/babeltrace/tests'
./run.sh tests
bin/test_trace_read ........... ok
lib/test_bitfield ............. ok
lib/test_seek_empty_packet .... ok
lib/test_seek_big_trace ....... ok
lib/test_ctf_writer_complete ..
Dubious, test returned 139 (wstat 35584, 0x8b00)
All 77 subtests passed
Test Summary Report
-------------------
lib/test_ctf_writer_complete (Wstat: 35584 Tests: 77 Failed: 0)
Non-zero exit status: 139
Parse errors: No plan found in TAP output
Files=5, Tests=178, 26 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)
Result: FAIL
Makefile:662: recipe for target 'check-am' failed
I'll submit a proper patch for HOST_NAME_MAX to the list.
Cheers,
--
Jon
diff --git a/configure.ac b/configure.ac
index 80eba33..248044e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,6 +50,17 @@ AC_C_INLINE
AC_TYPE_PID_T
AC_TYPE_SIZE_T
+# FreeBSD does not define HOST_NAME_MAX
+AC_CHECK_DECL(HOST_NAME_MAX,,
+ [
+ AC_CHECK_DECL(_POSIX_HOST_NAME_MAX,
+ AC_DEFINE(HOST_NAME_MAX, _POSIX_HOST_NAME_MAX, []),
+ AC_DEFINE(HOST_NAME_MAX, 256, [Define to 256 if neither have HOST_NAME_MAX nor _POSIX_HOST_NAME_MAX]),
+ [[#include <limits.h>]])
+ ],
+ [[#include <limits.h>]]
+)
+
# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_MMAP
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev