summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-12 18:56:25 +0000
committerredpony <redpony@ec762483-ff6d-05da-a07a-a48fb63a330f>2010-08-12 18:56:25 +0000
commit44bf33129c9da951a695413cb7314fee58c6ee0f (patch)
tree154aeaf5c7df33c8107d600cb938612680edc093
parent71eb8b4500ad745710c4f29dd9e97793cea43b0b (diff)
add 'make check' support
git-svn-id: https://ws10smt.googlecode.com/svn/trunk@534 ec762483-ff6d-05da-a07a-a48fb63a330f
-rw-r--r--decoder/Makefile.am1
-rwxr-xr-xgi/posterior-regularisation/prjava/Makefile3
-rw-r--r--mteval/Makefile.am1
-rw-r--r--utils/Makefile.am3
-rw-r--r--vest/Makefile.am1
5 files changed, 9 insertions, 0 deletions
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