diff options
author | Rob Austein <sra@hactrn.net> | 2013-01-17 15:27:09 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2013-01-17 15:27:09 +0000 |
commit | 6add91586e685863576147cfc18dfe3199433cd3 (patch) | |
tree | f3bf7a9127e3c8729afd46f7a28daaf04ebef9e6 /utils/find_roa | |
parent | 139d583df07465f55258ad3db6efc7c46e81c8a9 (diff) |
Skip test when rcynic hasn't provided the necessary input data.
svn path=/branches/tk377/; revision=4970
Diffstat (limited to 'utils/find_roa')
-rw-r--r-- | utils/find_roa/Makefile.in | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/find_roa/Makefile.in b/utils/find_roa/Makefile.in index 438071d9..b1b8eb83 100644 --- a/utils/find_roa/Makefile.in +++ b/utils/find_roa/Makefile.in @@ -36,11 +36,13 @@ ${BIN}: ${SRC} ${CC} ${CFLAGS} -o $@ ${SRC} ${LDFLAGS} ${LIBS} -TEST_ARGS = ${abs_top_builddir}/rcynic/rcynic-data/authenticated 10.3.0.44 10.2.0.6 10.0.0.0/24 +ROA_DIR = ${abs_top_builddir}/rcynic/rcynic-data/authenticated + +TEST_ARGS = ${ROA_DIR} 10.3.0.44 10.2.0.6 10.0.0.0/24 test: ${BIN} -# ./${BIN} ${TEST_ARGS} - sh ./test_roa.sh ${TEST_ARGS} +# if test -d ${ROA_DIR}; then ./${BIN} ${TEST_ARGS} ; else :; fi + if test -d ${ROA_DIR}; then sh ./test_roa.sh ${TEST_ARGS} ; else :; fi install: all if test -d ${DESTDIR}${bindir} ; then :; else ${INSTALL} -d ${DESTDIR}${bindir}; fi |