summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Watson <davejwatson@fb.com>2017-04-04 11:26:45 -0700
committerDave Watson <davejwatson@fb.com>2017-04-04 12:41:03 -0700
commit982e93495123635a463b1828e197cd0f027770cb (patch)
tree96caa97199b58b84d5aacd9ab4a3c19684d9f053
parentaee8bbe79574d0c5e89a2292e2f7efb4bf75dca5 (diff)
downloadlibunwind-982e93495123635a463b1828e197cd0f027770cb.tar.gz
travis: run unittests for x86_64
some tests are failing with clang currently.
-rw-r--r--.travis.yml9
-rw-r--r--tests/Makefile.am2
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