git.annexia.org
/
miniexpect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: add "missing" initializers
[miniexpect.git]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
4d3f91f
..
69976bf
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-24,8
+24,8
@@
EXTRA_DIST = miniexpect.3
lib_LTLIBRARIES = libminiexpect.la
libminiexpect_la_SOURCES = miniexpect.c miniexpect.h
lib_LTLIBRARIES = libminiexpect.la
libminiexpect_la_SOURCES = miniexpect.c miniexpect.h
-libminiexpect_la_CFLAGS = $(PCRE_CFLAGS) -Wall
-libminiexpect_la_LIBADD = $(PCRE_LIBS)
+libminiexpect_la_CFLAGS = $(PCRE
2
_CFLAGS) -Wall
+libminiexpect_la_LIBADD = $(PCRE
2
_LIBS)
libminiexpect_la_LDFLAGS = -version-info 0:0:0
# Examples.
libminiexpect_la_LDFLAGS = -version-info 0:0:0
# Examples.
@@
-33,7
+33,7
@@
libminiexpect_la_LDFLAGS = -version-info 0:0:0
noinst_PROGRAMS = example-sshpass
example_sshpass_SOURCES = example-sshpass.c
noinst_PROGRAMS = example-sshpass
example_sshpass_SOURCES = example-sshpass.c
-example_sshpass_CFLAGS = $(PCRE_CFLAGS) -Wall
+example_sshpass_CFLAGS = $(PCRE
2
_CFLAGS) -Wall
example_sshpass_LDADD = libminiexpect.la
# Tests.
example_sshpass_LDADD = libminiexpect.la
# Tests.
@@
-41,19
+41,24
@@
example_sshpass_LDADD = libminiexpect.la
TESTS = $(check_PROGRAMS)
check_PROGRAMS = \
test-spawn \
TESTS = $(check_PROGRAMS)
check_PROGRAMS = \
test-spawn \
- test-ls-version
+ test-ls-version \
+ test-multi-match
test_spawn_SOURCES = test-spawn.c tests.h miniexpect.h
test_spawn_SOURCES = test-spawn.c tests.h miniexpect.h
-test_spawn_CFLAGS = $(PCRE_CFLAGS) -Wall
+test_spawn_CFLAGS = $(PCRE
2
_CFLAGS) -Wall
test_spawn_LDADD = libminiexpect.la
test_ls_version_SOURCES = test-ls-version.c tests.h miniexpect.h
test_spawn_LDADD = libminiexpect.la
test_ls_version_SOURCES = test-ls-version.c tests.h miniexpect.h
-test_ls_version_CFLAGS = $(PCRE_CFLAGS) -Wall
+test_ls_version_CFLAGS = $(PCRE
2
_CFLAGS) -Wall
test_ls_version_LDADD = libminiexpect.la
test_ls_version_LDADD = libminiexpect.la
+test_multi_match_SOURCES = test-multi-match.c tests.h miniexpect.h
+test_multi_match_CFLAGS = $(PCRE2_CFLAGS) -Wall
+test_multi_match_LDADD = libminiexpect.la
+
# parallel-tests breaks the ability to put 'valgrind' into
# TESTS_ENVIRONMENT. Hence we have to work around it:
# parallel-tests breaks the ability to put 'valgrind' into
# TESTS_ENVIRONMENT. Hence we have to work around it:
-check-valgrind:
+check-valgrind:
$(TESTS)
for t in $(TESTS); do \
$(LIBTOOL) --mode=execute $(VG) ./$$t; \
r=$$?; \
for t in $(TESTS); do \
$(LIBTOOL) --mode=execute $(VG) ./$$t; \
r=$$?; \
@@
-74,6
+79,7
@@
CLEANFILES += miniexpect.3
miniexpect.3: miniexpect.pod
$(POD2MAN) \
miniexpect.3: miniexpect.pod
$(POD2MAN) \
+ -u \
--section 3 \
--release "$(PACKAGE)-$(VERSION)" \
-c "Library functions" \
--section 3 \
--release "$(PACKAGE)-$(VERSION)" \
-c "Library functions" \