Changeset cf4e708 in mod_gnutls for test/Makefile.am


Ignore:
Timestamp:
Jan 23, 2016, 5:11:43 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
Children:
ddf6027
Parents:
bca7629
Message:

Run tests in separate network namespaces

Creating a network namespace for each test avoids port conflicts so
Apache instances can run in parallel, and also isolates the tests from
the host system.

Test namespaces are automatically used if the "unshare" command is
available, and can be disabled by passing "--disable-test-namespaces"
to ./configure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/Makefile.am

    rbca7629 rcf4e708  
    156156        export BACKEND_HOST="$(TEST_HOST)";
    157157
     158if ENABLE_NETNS
     159AM_TESTS_ENVIRONMENT += export UNSHARE="$(UNSHARE)"; \
     160        export USE_TEST_NAMESPACE=1;
     161endif
    158162# Without flock tests must not run in parallel. Otherwise set lock files.
    159163if DISABLE_FLOCK
Note: See TracChangeset for help on using the changeset viewer.