From 1a8a8fbb2d8eb503c38ba03da796e16ed08fd07a Mon Sep 17 00:00:00 2001 From: Barry Haddow Date: Sat, 14 Sep 2013 17:15:41 +0100 Subject: [PATCH] Re-enable unit tests. They all pass. --- moses/FeatureVectorTest.cpp | 1 - moses/Jamfile | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/moses/FeatureVectorTest.cpp b/moses/FeatureVectorTest.cpp index 2e00b276e..fc01656ba 100644 --- a/moses/FeatureVectorTest.cpp +++ b/moses/FeatureVectorTest.cpp @@ -53,7 +53,6 @@ BOOST_AUTO_TEST_CASE(vector_sum_diff) BOOST_CHECK_CLOSE((FValue)diff[n3], -5.7, TOL); BOOST_CHECK_CLOSE((FValue)diff[n4], -0.6, TOL); f1 -= f3; - cerr << f1 << endl << f3 << endl ; BOOST_CHECK_CLOSE((FValue)f1[n1],0,TOL); } diff --git a/moses/Jamfile b/moses/Jamfile index e5a7f100e..26a98c4c9 100644 --- a/moses/Jamfile +++ b/moses/Jamfile @@ -74,5 +74,5 @@ alias headers-to-install : [ glob-tree *.h ] ; import testing ; -#unit-test moses_test : [ glob *Test.cpp Mock*.cpp ] moses headers ..//z ../OnDiskPt//OnDiskPt ..//boost_unit_test_framework ; +unit-test moses_test : [ glob *Test.cpp Mock*.cpp ] moses headers ..//z ../OnDiskPt//OnDiskPt ..//boost_unit_test_framework ;