diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-19 17:51:51 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 09:26:33 +0200 |
commit | 08b6f40b285780906c70c0d56483b8edbb077667 (patch) | |
tree | ce78deb752756a934cdbd8b7b3df875b48addcd2 /unit-tests/test/script/parser/buildfile | |
parent | e84fd4aeeb15cd5894193dc403afc60e0dd7f321 (diff) |
Add testscript parser unit test
Diffstat (limited to 'unit-tests/test/script/parser/buildfile')
-rw-r--r-- | unit-tests/test/script/parser/buildfile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile new file mode 100644 index 0000000..56a4682 --- /dev/null +++ b/unit-tests/test/script/parser/buildfile @@ -0,0 +1,15 @@ +# file : unit-tests/test/script/parser/buildfile +# copyright : Copyright (c) 2014-2016 Code Synthesis Ltd +# license : MIT; see accompanying LICENSE file + +#@@ Temporary until we get utility library support. +# +import libs = libbutl%lib{butl} +src = token lexer parser diagnostics utility variable name context target \ +scope prerequisite file module operation rule b-options algorithm search \ +filesystem config/{utility init operation} dump types-parsers \ +test/{target script/{token lexer parser script}} + +exe{driver}: cxx{driver} ../../../../build2/cxx{$src} $libs #test{testscript} + +include ../../../../build2/ |