]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Test VPATH build in Travis, update docs.
authorJoe Orton <jorton@apache.org>
Mon, 13 Jul 2020 14:02:39 +0000 (14:02 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 13 Jul 2020 14:02:39 +0000 (14:02 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1879827 13f79535-47bb-0310-9956-ffa450edef68

.travis.yml
test/README.travis
test/travis_run_linux.sh

index 08ec66f83629b14f1c27babdb7e741e819ed9edb..745860a4c9f6fc080ca0a26afd6324570fa021fe 100644 (file)
@@ -106,10 +106,11 @@ jobs:
     - name: Linux Ubuntu, Shared MPMs, all-modules
       env: CONFIG="--enable-mods-shared=reallyall --enable-mpms-shared=all"
     # -------------------------------------------------------------------------
-    - name: Linux Ubuntu, GCC 7 maintainer-mode w/-Werror
+    - name: Linux Ubuntu, GCC 7 maintainer-mode w/-Werror, install + VPATH
       os: linux
-      env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode" NOTEST_CFLAGS='-Werror -O2' CC=gcc-7
-           SKIP_TESTING=1
+      env: CONFIG="--enable-mods-shared=reallyall --enable-maintainer-mode"
+           NOTEST_CFLAGS='-Werror -O2' CC=gcc-7
+           TEST_VPATH=1 TEST_INSTALL=1 SKIP_TESTING=1
     # -------------------------------------------------------------------------
     - name: Linux Ubuntu, Event MPM, all-modules, mod_cgid only
       env: CONFIG="--enable-mods-shared=reallyall --with-mpm=event --disable-cgi"
index d174cccd086e8dff0f42e8213bd2d7c67b6c3702..2806a5fafe4693970331f3c24d695d01e9c6990e 100644 (file)
@@ -28,13 +28,17 @@ The Travis scripts use the following environment variables:
 * SKIP_TESTING - if set, the Perl test framework is not run for the
   build.
 
-* TEST_UBSAN - set for builds using UBSan ("Undefined Behaviour Sanitizer")
+* TEST_UBSAN - set for job using UBSan ("Undefined Behaviour Sanitizer")
 
-* TEST_MALLOC - set for builds using enhanced malloc debugging.
+* TEST_MALLOC - set for job using enhanced malloc debugging.
 
-* TEST_INSTALL - set for builds testing "make install"
+* TEST_INSTALL - set for job testing "make install"
 
-* TEST_LDAP - set for builds with slapd running
+* TEST_VPATH - set for job testing srcdir!=builddir 
+
+* TEST_LDAP - set for job with slapd, running LDAP tests
+
+* TEST_SSL - set for job with SSL/TLS testing variants
 
 * TESTS - a list of Perl framework tests to run
 
@@ -56,7 +60,6 @@ TODO list
 * Windows build
 * clang-on-Linux build
 * Use containers for non-Ubuntu-based Linux testing
-* VPATH builds
 * sanity checks for use of APLOGNO() - empty arguments, accidental duplicates, etc.
  - not sure how exactly
 * Known test failures
index 77dda889dfcd07162d1ef28c887f145e229ce133..f52b5fd94aa6746a4021e3219ff48abc5de11729 100755 (executable)
@@ -36,7 +36,14 @@ else
     CONFIG="$CONFIG --with-apr-util=/usr"
 fi
 
-./configure --prefix=$PREFIX $CONFIG
+srcdir=$PWD
+
+if test -v TEST_VPATH; then
+    mkdir ../vpath
+    cd ../vpath
+fi
+
+$srcdir/configure --prefix=$PREFIX $CONFIG
 make $MFLAGS
 
 if test -v TEST_INSTALL; then