mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-29 06:52:34 +03:00
60e56efc6b
And remove some (near-)duplicate code from pcfg-common and score-stsg.
9 lines
267 B
Plaintext
9 lines
267 B
Plaintext
lib syntax_common : [ glob *.cc : *_test.cc ] ..//deps : <include>.. ;
|
|
|
|
import testing ;
|
|
|
|
for local t in [ glob *_test.cc ] {
|
|
local name = [ MATCH "(.*)\.cc" : $(t) ] ;
|
|
unit-test $(name) : $(t) syntax_common /top//boost_unit_test_framework /top//boost_system ;
|
|
}
|