mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 07:26:15 +01:00
gtester: small Windows fix
This code was unconditionally present in the gtester Makefile: test-nonrecursive: ${TEST_PROGS} On Windows, our testcases are compiled with a .exe suffix. That means that if we had 'foo' in TEST_PROGS, running "make check" would depend on 'foo' (not foo.exe) being compiled. We could bring the EXEEXT in here to fix that up, but gtester doesn't work on Windows at all, so better to just disable it in that case.
This commit is contained in:
parent
44e85f7364
commit
494db61c19
@ -17,12 +17,12 @@ if OS_UNIX
|
||||
test "$$subdir" = "." -o "$$subdir" = "po" || \
|
||||
( cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $@ ) || exit $? ; \
|
||||
done
|
||||
endif
|
||||
|
||||
# test-nonrecursive: run tests only in cwd
|
||||
test-nonrecursive: ${TEST_PROGS}
|
||||
if OS_UNIX
|
||||
@test -z "${TEST_PROGS}" || MALLOC_CHECK_=2 MALLOC_PERTURB_=$$(($${RANDOM:-256} % 256)) ${GTESTER} --verbose ${TEST_PROGS}
|
||||
else
|
||||
test-nonrecursive:
|
||||
endif
|
||||
|
||||
# test-report: run tests in subdirs and generate report
|
||||
|
Loading…
Reference in New Issue
Block a user