jenkins: fix the runpath hack for in-tree builds
authorJustus Winter <justus@g10code.com>
Mon, 10 Apr 2017 12:30:01 +0000 (14:30 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 10 Apr 2017 12:30:01 +0000 (14:30 +0200)
misc/jenkins/bin/build.bash

index 54d0098..aca5cc2 100755 (executable)
@@ -220,6 +220,10 @@ case "$XTARGET" in
                   CXXFLAGS="$CXXFLAGS -std=c++11"
         $MAKE $MAKEFLAGS
 
+       # HACKHACKHACK: Fix the test_environment hack.
+       test_environment="$(echo $test_environment | sed -e 's#obj/##g')"
+       # KCAHKCAHKCAH
+
         env $test_environment $MAKE -k check verbose=2 \
            || echo "FAIL: make check failed with status $?"
         # Jenkins looks for "FAIL:" to mark a build unstable,