aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-03-17Add $defined(<variable>) functionBoris Kolpackov1-2/+17
2020-03-11Optimize testscripts not to search for subprojectsKaren Arutyunov4-0/+5
2020-02-25Disable global module fragment tests for MSVC due to issue 845845Boris Kolpackov1-0/+3
2020-02-21Define __cpp_modules=201810 (merged modules) for MSVC 16.4Boris Kolpackov1-1/+1
2020-02-12Add builtins support for $process.run*() functionsKaren Arutyunov1-16/+128
2020-02-07Drop copyright notice from source codeKaren Arutyunov111-111/+0
2019-11-15Test and document wildcard character escapingBoris Kolpackov1-1/+11
Also document the new bracket expression ([...]) wildcard support.
2019-11-15Generalize attributes to be comma-separated with arbitrary valuesBoris Kolpackov1-3/+3
Before: x = [string null] After: x = [string, null]
2019-11-14Require attributes to be separated from words and similar on RHSBoris Kolpackov1-1/+1
2019-11-14Tighten up attribute recognition during parsingBoris Kolpackov1-6/+11
Now it should be possible to use `[]` for wildcard patterns, for example: foo = foo.[hit]xx Note that a leading bracket expression will still be recognized as attributes and escaping or quoting it will inhibit pattern matching. To resolve this case we need to specify an empty attribute list: foo = [] [abc]-foo.cxx
2019-11-08Add $regex.replace_lines() functionKaren Arutyunov1-0/+82
2019-11-05Fix testsBoris Kolpackov5-4/+24
2019-11-05Disable C++ modules tests for Clang 9Boris Kolpackov1-0/+8
See the following post for details: http://lists.llvm.org/pipermail/cfe-dev/2019-October/063637.html
2019-10-22Rename global_mutex_shards to global_mutexesBoris Kolpackov1-2/+2
2019-10-22Move global mutex shards to contextBoris Kolpackov1-2/+5
2019-10-18Use $quote() for quoting config.cxx option value in testscriptsKaren Arutyunov3-3/+3
2019-10-16Quote config.{c,cxx} paths when passing to testsBoris Kolpackov3-3/+3
Without this Windows directory separators are treated as escapes.
2019-10-14Implement MSVC installation discovery for version 15 (2017) and laterKaren Arutyunov1-1/+1
In particular, this removes the requirement to build from the Visual Studio command prompt. Note that since MSVC compiler binaries are target-specific (i.e., there are no -m32/-m64 options nor something like /MACHINE), in this case we default to a 64-bit build (a 32-bit build can still be achieved by running from a suitable command prompt). Finally, this mechanism is also used to find Clang bundled with MSVC.
2019-10-07Adapt tests for building with Clang on WindowsKaren Arutyunov1-3/+3
2019-10-01Disable for GCC 4.9 failing testscriptKaren Arutyunov1-10/+18
2019-10-01Add extractor, path.match, and string.icasecmp pattern matching testsBoris Kolpackov1-3/+39
2019-10-01Add support for $string.icasecmp()Karen Arutyunov2-0/+32
2019-10-01Make $regex.{match,search}() to return NULL for no match if return_match or ↵Karen Arutyunov1-4/+4
return_match flag is specified
2019-10-01Rename $filesystem.path_match() to $path.match()Karen Arutyunov2-79/+79
2019-10-01Adapt to swapping of entry and pattern parameters in butl::path_match()Karen Arutyunov1-19/+19
2019-09-30Allow attributes in if-else, assert directive's conditionsBoris Kolpackov3-0/+29
2019-09-30Cleanup inappropriate use of parse_variable_value()Boris Kolpackov1-0/+7
2019-09-30Handle attributes in switch value and pattern expressionsBoris Kolpackov1-4/+34
2019-09-30Tweak tests/.gitignore to ignore symlinks to test/Boris Kolpackov1-3/+4
2019-09-30Diagnose `case` and `default` outside `switch`Boris Kolpackov1-0/+8
2019-09-30Reserve `:` in `case` pattern expression for future match extraction supportBoris Kolpackov1-0/+12
2019-09-30Add support for custom match/extract functions in switch expressionBoris Kolpackov1-0/+113
2019-09-30Add support for `case` pattern alternativesBoris Kolpackov1-9/+14
case <pattern>[ | <pattern>...]
2019-09-30Allow multiple `case` for single line/blockBoris Kolpackov1-8/+33
2019-09-30Pattern matching support (switch): multiple values implementationBoris Kolpackov1-0/+37
2019-09-30Pattern matching support (switch): single value implementationBoris Kolpackov2-0/+139
2019-09-27Adapt to bracket expressions in wildcard patternsKaren Arutyunov1-1/+1
2019-09-27Add support for testscript builtin escapingKaren Arutyunov1-0/+20
2019-09-27Move testscript builtins to libbutlKaren Arutyunov14-1531/+201
2019-09-18Rename importable_headers variable to translatable_headersBoris Kolpackov1-4/+4
This name aligns better with the post-Cologne importable/translatable semantics.
2019-08-28Move cxx build system module to separate libraryKaren Arutyunov2-1/+3
2019-08-28Move c build system module to separate libraryKaren Arutyunov2-1/+3
2019-08-28Move cc build system module to separate libraryKaren Arutyunov2-3/+5
2019-08-28Move bin build system module to separate libraryKaren Arutyunov2-1/+3
2019-08-26Implement auto-import of development build2 buildBoris Kolpackov1-1/+4
2019-08-23Introduce notion of build contextBoris Kolpackov1-3/+3
All non-const global state is now in class context and we can now have multiple independent builds going on at the same time.
2019-08-21Make testscripts to ignore user's default options filesKaren Arutyunov6-9/+11
2019-08-19Revert previous (erroneously pushed to master) commitKaren Arutyunov6-11/+9
2019-08-19Make testscripts to ignore user's default options filesKaren Arutyunov6-9/+11
2019-08-07Improve deadlock diagnostics (suppress stack trace, reword)Boris Kolpackov1-1/+1