From 185b300d72f4af3ad25f760516558a708f15342f Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Tue, 6 Jan 2015 17:24:06 -0800 Subject: [PATCH] Check for exported ASL symbols on Travis-MinGW-cross --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c87f9d3bf..def0b5a3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,11 @@ env: -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER" PACKAGES="mingw64-x-gcc" PPAS="tobydox/mingw ubuntu-wine/ppa" - TEST_SETUP="sudo apt-get install wine1.7" + TEST_SETUP='if [ -z "$(objdump -p bin/libasl.dll | grep write_sol_ASL)" ]; then + echo ASL symbols not exported; + exit 1; + fi; + sudo apt-get install wine1.7' # Install newer version of CMake as the one that comes preinstalled on # travis-ci doesn't support CMakeAddFortranSubdirectory. @@ -34,5 +38,5 @@ install: script: - cmake-2.8.12.2-Linux-i386/bin/cmake $CMAKEFLAGS . - make -j3 - - $TEST_SETUP + - eval $TEST_SETUP - ctest -V