From 982e93495123635a463b1828e197cd0f027770cb Mon Sep 17 00:00:00 2001 From: Dave Watson Date: Tue, 4 Apr 2017 11:26:45 -0700 Subject: [PATCH] travis: run unittests for x86_64 some tests are failing with clang currently. --- .travis.yml | 9 ++++++--- tests/Makefile.am | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 56a52e98..4a74b4a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ +sudo: required language: c -compiler: clang +compiler: gcc env: - TARGET=x86_64-linux-gnu - TARGET=x86-linux-gnu @@ -11,5 +12,7 @@ env: script: - ./autogen.sh - ./configure --target=$TARGET --host=$HOST -- make -#- if [ $TARGET == 'x86_64-linux-gnu' ]; then make check; fi +- make -j32 +- sudo bash -c 'echo core.%p.%p > /proc/sys/kernel/core_pattern' +- ulimit -c unlimited +- if [ $TARGET == 'x86_64-linux-gnu' ]; then make check -j32; fi diff --git a/tests/Makefile.am b/tests/Makefile.am index 53ca6989..f91f1da4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -177,7 +177,7 @@ test_static_link_LDADD = $(LIBUNWIND) test_strerror_LDADD = $(LIBUNWIND) Lrs_race_LDADD = $(LIBUNWIND_local) -lpthread Ltest_varargs_LDADD = $(LIBUNWIND_local) -Ltest_init_local_signal_LDADD = $(LIBUNWIND) +Ltest_init_local_signal_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) Gtest_bt_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) Gtest_concurrent_LDADD = $(LIBUNWIND) $(LIBUNWIND_local) -lpthread