Changeset 9a06bbd in mod_gnutls for test/TestMakefile


Ignore:
Timestamp:
Feb 4, 2015, 11:27:22 AM (5 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, upstream
Children:
8731286, c4a015b
Parents:
302965e
Message:

Use flock instead of delays to protect Apache

The "sleep" call before each Apache start slows tests down, but removing
it leads to occasional failures, presumably due to a mid-shutdown Apache
process getting in the way of a starting one. Use a lock file to prevent
that while removing the sleep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/TestMakefile

    r302965e r9a06bbd  
    1515export TEST_QUERY_DELAY ?= 2
    1616
     17TEST_LOCK := ./test.lock
     18
    1719all: setup.done
    18         ./runtests
     20        TEST_LOCK=$(TEST_LOCK) ./runtests
    1921
    2022t-%: setup.done
    21         ./runtests $@
     23        TEST_LOCK=$(TEST_LOCK) ./runtests $@
    2224
    2325
Note: See TracChangeset for help on using the changeset viewer.