mush

git clone git://git.lin.moe/mush.git

 1tests = [
 2  ['quote', 'parse quote', ['parse_quote.cpp']],
 3  ['dollar_words', 'parser dolloar-prefix words',['parse_dollar.cpp']],
 4  ['program', 'parser program', ['parse_program.cpp']],
 5]
 6
 7catch2dep = dependency('catch2-with-main')
 8
 9foreach t : tests
10  testexe = executable(t[0], t[2],
11                       include_directories : inc,
12                       link_with : mushlib,
13                       dependencies: catch2dep,
14                      )
15
16  test(t[1], testexe)
17endforeach