win32: Make once-test work

The barrier is not used when pthread is not available.
This commit is contained in:
Maarten Bosmans 2011-06-23 22:21:02 +02:00 committed by Colin Guthrie
parent 2cfacc6f55
commit 3adc43b8fe
4 changed files with 32 additions and 9 deletions

View file

@ -271,6 +271,7 @@ TESTS = \
TESTS_norun = \
mcalign-test \
once-test \
pacat-simple \
parec-simple \
extended-test \
@ -309,13 +310,6 @@ TESTS_norun += \
alsa-time-test
endif
if !OS_IS_DARWIN
if !OS_IS_WIN32
TESTS_BINARIES += \
once-test
endif
endif
if BUILD_TESTS_DEFAULT
noinst_PROGRAMS = $(TESTS) $(TESTS_norun)
else