diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-26 22:23:43 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-06-27 19:23:16 +0300 |
commit | 9a3a8d1915c8a3666984d6603606af856dfd8c41 (patch) | |
tree | 387af88de60f908ce248ae215b722f5a907564b9 /unit-tests/test | |
parent | f65377448e74fc7e575e4df258fb0a48a09e39cc (diff) |
Add support for regex function family
Diffstat (limited to 'unit-tests/test')
-rw-r--r-- | unit-tests/test/script/lexer/buildfile | 10 | ||||
-rw-r--r-- | unit-tests/test/script/parser/buildfile | 12 |
2 files changed, 13 insertions, 9 deletions
diff --git a/unit-tests/test/script/lexer/buildfile b/unit-tests/test/script/lexer/buildfile index 2070089..a21df7a 100644 --- a/unit-tests/test/script/lexer/buildfile +++ b/unit-tests/test/script/lexer/buildfile @@ -5,13 +5,15 @@ #@@ Temporary until we get utility library support. # import libs = libbutl%lib{butl} -src = token lexer diagnostics utility variable name b-options types-parsers \ +src = token lexer diagnostics utility variable name b-options types-parsers \ context scope parser target operation rule prerequisite file module function \ functions-builtin functions-filesystem functions-path functions-process-path \ -functions-string functions-target-triplet algorithm search dump filesystem \ -scheduler config/{utility init operation module} test/script/{token lexer} spec +functions-regex functions-string functions-target-triplet algorithm search \ +dump filesystem scheduler config/{utility init operation module} \ +test/script/{token lexer} spec -exe{driver}: cxx{driver} ../../../../build2/cxx{$src} ../../../../build2/liba{b} $libs \ +exe{driver}: cxx{driver} ../../../../build2/cxx{$src} \ +../../../../build2/liba{b} $libs \ test{command-line first-token second-token command-expansion variable-line \ description-line variable} diff --git a/unit-tests/test/script/parser/buildfile b/unit-tests/test/script/parser/buildfile index 634120c..184fd82 100644 --- a/unit-tests/test/script/parser/buildfile +++ b/unit-tests/test/script/parser/buildfile @@ -8,12 +8,14 @@ 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 function functions-builtin functions-filesystem functions-path \ -functions-process-path functions-string functions-target-triplet \ -config/{utility init operation module} dump types-parsers \ -test/{target script/{token lexer parser regex script}} scheduler spec +functions-process-path functions-regex functions-string \ +functions-target-triplet config/{utility init operation module} dump \ +types-parsers test/{target script/{token lexer parser regex script}} \ +scheduler spec -exe{driver}: cxx{driver} ../../../../build2/cxx{$src} ../../../../build2/liba{b} $libs \ -test{cleanup command-if command-re-parse description directive exit \ +exe{driver}: cxx{driver} ../../../../build2/cxx{$src} \ +../../../../build2/liba{b} $libs \ +test{cleanup command-if command-re-parse description directive exit \ expansion here-document here-string include pipe-expr pre-parse \ redirect regex scope scope-if setup-teardown} |