From 601a82dafc47fb5a3796f6b06a3ba9af127de0f8 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Mon, 3 Sep 2018 16:35:21 -0600 Subject: [PATCH] travis: Hackfix for BUILD_METALIBS=OFF tests --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e438814946..d479dbf36a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -58,12 +58,16 @@ before_script: - cd built script: +# This is kind of a hack, but needed to test non-metalib builds (until +# interrogate has a way of explicitly calling init_libpanda) +- '[ "x$BUILD_METALIBS" == "xON" ] || export LDFLAGS=-Wl,--no-as-needed' + - cmake -DHAVE_GTK2=NO -DBUILD_METALIBS=$BUILD_METALIBS -DCOMPOSITE_SOURCE_LIMIT=$COMPOSITE_SOURCE_LIMIT .. - make -j4 - export PYTHONPATH=$PWD - python ../test_imports.py -- pytest ../tests +- pytest -v ../tests notifications: irc: