Changeset 34e5dc7 in mod_gnutls for test/runtests


Ignore:
Timestamp:
Sep 19, 2015, 5:29:36 PM (4 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
f9f184f
Parents:
dff03fa
Message:

Test suite: Call "runtests" directly from test scripts

The test scripts used to call runtests through TestMakefile?, which set
up the environment. Moving the environment configuration to
AM_TESTS_ENVIRONMENT in Makefile.am avoids this additional call to
make.

TEST_GAP has been renamed to TEST_MSVA_WAIT because the sleep time in
the MSVA startup loop is its only remaining use.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/runtests

    rdff03fa r34e5dc7  
    1717
    1818BADVARS=0
    19 for v in APACHE2 TEST_HOST TEST_IP TEST_PORT TEST_QUERY_DELAY TEST_GAP \
     19for v in APACHE2 TEST_HOST TEST_IP TEST_PORT TEST_QUERY_DELAY TEST_MSVA_WAIT \
    2020                 MSVA_PORT TEST_LOCK; do
    2121    if [ ! -v "$v" ]; then
     
    134134            echo "MSVA not ready yet"
    135135        fi
    136         sleep "${TEST_GAP}"
    137         waited=$(echo "${waited} + ${TEST_GAP}" | bc)
     136        sleep "${TEST_MSVA_WAIT}"
     137        waited=$(echo "${waited} + ${TEST_MSVA_WAIT}" | bc)
    138138    done
    139139
Note: See TracChangeset for help on using the changeset viewer.