Commit 6bc38c46 authored by Tim Janik's avatar Tim Janik

tests/Makefile.am: execute test programs with gtester, add test: to check:

svn path=/trunk/; revision=5902
parent f843b379
INCLUDES = -g -I$(top_srcdir) -I$(top_srcdir)/glib $(GLIB_DEBUG_FLAGS)
TESTS =
noinst_PROGRAMS = $(TESTS)
GTESTER = $(top_builddir)/glib/gtester
TEST_PROGS =
noinst_PROGRAMS = $(TEST_PROGS)
progs_ldadd = $(top_builddir)/glib/libglib-2.0.la
TESTS += testing
TEST_PROGS += testing
testing_SOURCES = testing.c
testing_LDADD = $(progs_ldadd)
test:
@set -e \
&& for tst in ${TESTS} ; do \
echo -n "TEST: ./$$tst... " ; \
./$$tst ; \
echo "OK" ; \
done
${GTESTER} ${TEST_PROGS}
.PHONY: test
check-local: test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment