In my Makefile.am
, I have the following test:
TESTS += tests/test1
check_PROGRAMS += tests/test1
tests_test1_SOURCES = tests/test1.c
tests_test1_CPPFLAGS = ...
tests_test1_LDADD = ...
test1
is compiled and run when make check
is invoked. How should Makefile.am
be modified to pass a command line argument to test1?