jenkins: fix GPGMEs tests on OpenBSD
authorJustus Winter <justus@g10code.com>
Mon, 13 Feb 2017 11:00:57 +0000 (12:00 +0100)
committerJustus Winter <justus@g10code.com>
Mon, 13 Feb 2017 11:00:57 +0000 (12:00 +0100)
misc/jenkins/bin/build.bash

index 88c8032..3dbc58b 100755 (executable)
@@ -104,14 +104,14 @@ case "$JOB_NAME" in
 
        # Disable NTBTLS for now until it is actually mature and used.
        CONFIGUREFLAGS="$CONFIGUREFLAGS --disable-ntbtls"
-
-       # The libraries use rpath when linking the tests, so they
-       # locate their dependencies that way.  GnuPG, however, does
-       # not.  Therefore, we set LD_LIBRARY_PATH.
-       test_environment="LD_LIBRARY_PATH=$ORIGINAL_PREFIX/lib"
         ;;
 esac
 
+# The libraries use rpath when linking the tests, so they locate their
+# dependencies that way.  GnuPG, however, does not.  Therefore, we set
+# LD_LIBRARY_PATH.
+test_environment="LD_LIBRARY_PATH=$ORIGINAL_PREFIX/lib"
+
 # See if we have a GPGME checkout for the tesets.
 xtest_gpgme_srcdir="$HOME/src/gpgme-for-gnupgs-tests"
 if [ -d "$xtest_gpgme_srcdir/obj" ]; then