From 6e45bf6c8e11a556d97377ae00db64cb5a597cd9 Mon Sep 17 00:00:00 2001 From: redpony Date: Thu, 12 Aug 2010 18:56:25 +0000 Subject: add 'make check' support git-svn-id: https://ws10smt.googlecode.com/svn/trunk@534 ec762483-ff6d-05da-a07a-a48fb63a330f --- decoder/Makefile.am | 1 + gi/posterior-regularisation/prjava/Makefile | 3 +++ mteval/Makefile.am | 1 + utils/Makefile.am | 3 +++ vest/Makefile.am | 1 + 5 files changed, 9 insertions(+) diff --git a/decoder/Makefile.am b/decoder/Makefile.am index a3c359ec..86912b49 100644 --- a/decoder/Makefile.am +++ b/decoder/Makefile.am @@ -7,6 +7,7 @@ noinst_PROGRAMS = \ ff_test \ parser_test \ grammar_test +TESTS = trule_test ff_test parser_test grammar_test hg_test endif cdec_SOURCES = cdec.cc forest_writer.cc maxtrans_blunsom.cc cdec_ff.cc diff --git a/gi/posterior-regularisation/prjava/Makefile b/gi/posterior-regularisation/prjava/Makefile index a16adcde..bd3bfca0 100755 --- a/gi/posterior-regularisation/prjava/Makefile +++ b/gi/posterior-regularisation/prjava/Makefile @@ -1,5 +1,8 @@ all: ant dist +check: + echo no tests + clean: ant clean diff --git a/mteval/Makefile.am b/mteval/Makefile.am index e58492fc..f9277779 100644 --- a/mteval/Makefile.am +++ b/mteval/Makefile.am @@ -5,6 +5,7 @@ bin_PROGRAMS = \ if HAVE_GTEST noinst_PROGRAMS = \ scorer_test +TESTS = scorer_test endif noinst_LIBRARIES = libmteval.a diff --git a/utils/Makefile.am b/utils/Makefile.am index e513febd..66b86f89 100644 --- a/utils/Makefile.am +++ b/utils/Makefile.am @@ -4,6 +4,9 @@ noinst_PROGRAMS = \ weights_test \ logval_test \ small_vector_test + +TESTS = small_vector_test logval_test weights_test dict_test + endif noinst_LIBRARIES = libutils.a diff --git a/vest/Makefile.am b/vest/Makefile.am index b869672b..aff9cda5 100644 --- a/vest/Makefile.am +++ b/vest/Makefile.am @@ -8,6 +8,7 @@ bin_PROGRAMS = \ if HAVE_GTEST noinst_PROGRAMS = \ lo_test +TESTS = lo_test endif sentserver_SOURCES = sentserver.c -- cgit v1.2.3