Skip to content

Commit

Permalink
lib-smtp: Add test-smtp-payload, test-smtp-submit, test-smtp-client-e…
Browse files Browse the repository at this point in the history
…rrors, and test-smtp-server-errors to `make check`.
  • Loading branch information
stephanbosch committed May 25, 2018
1 parent 019c794 commit c2357a9
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/lib-smtp/Makefile.am
Expand Up @@ -74,14 +74,14 @@ test_programs = \
test-smtp-address \
test-smtp-params \
test-smtp-reply-parser \
test-smtp-command-parser

test_nocheck_programs = \
test-smtp-command-parser \
test-smtp-payload \
test-smtp-submit \
test-smtp-client-errors \
test-smtp-server-errors

test_nocheck_programs =

noinst_PROGRAMS = $(test_programs) $(test_nocheck_programs)

test_libs = \
Expand Down Expand Up @@ -158,6 +158,9 @@ test_smtp_server_errors_DEPENDENCIES = $(test_deps)

check-local:
for bin in $(test_programs); do \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
if test "$$bin" = "test-smtp-submit"; then \
if ! env NOCHILDREN=yes $(RUN_TEST) ./$$bin; then exit 1; fi; \
else \
if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \
fi \
done

0 comments on commit c2357a9

Please sign in to comment.