aboutsummaryrefslogtreecommitdiff
path: root/tests/function/path
AgeCommit message (Collapse)AuthorFilesLines
2024-05-22Add $filesystem.file_exists(), $filesystem.directory_exists()Boris Kolpackov1-0/+2
2024-05-21Add $path.complete(), $path.try_normalize(), $path.try_actualize()Boris Kolpackov1-31/+45
2024-05-20Add $path.absolute(), $path.simple(), $path.sub_path(), $path.super_path()Boris Kolpackov1-0/+30
2023-05-30Add $path.posix_string() and $path.posix_representation() functionsKaren Arutyunov1-0/+72
2022-09-29Add $find(<sequence>, <value>), $find_index(<sequence>, <value>) functionsBoris Kolpackov1-0/+14
The $find() function returns true if the sequence contains the specified value. The $find_index() function returns the index of the first element in the sequence that is equal to the specified value or $size(<sequence>) if none is found. For string sequences, it's possible to request case- insensitive comparison with a flag.
2021-12-02Fix path function test failure on WindowsBoris Kolpackov1-1/+1
2021-12-02Add $root_directory(<path>) functionBoris Kolpackov1-0/+22
2021-12-02Add $relative(<path>,<dir-path>) functionBoris Kolpackov1-0/+6
2021-11-26Add $size(string), $size(path), and $size(dir_path) functionsBoris Kolpackov1-0/+11
2021-11-04Fix testBoris Kolpackov1-1/+1
2021-11-02Add $sort() functionBoris Kolpackov1-1/+16
Available overloads: $sort(<names> [, <flags>]) $sort(<ints> [, <flags>]) $sort(<strings> [, <flags>]) $sort(<paths> [, <flags>]) $sort(<dir_paths> [, <flags>]) The following flag is supported by the all overloads: dedup - in addition to sorting also remove duplicates Additionally, the strings overload also support the following flag: icase - sort ignoring case Note that on case-insensitive filesystem the paths and dir_paths overload's order is case-insensitive.
2020-12-08Redo $normalize(true) as separate $actualize()Karen Arutyunov1-9/+12
2020-02-07Drop copyright notice from source codeKaren Arutyunov2-2/+0
2019-11-05Fix testsBoris Kolpackov1-0/+2
2019-10-01Rename $filesystem.path_match() to $path.match()Karen Arutyunov1-0/+79
2019-01-16Update copyright yearKaren Arutyunov2-2/+2
2018-09-04Rename .test/test{} to .testscript/testscript{}Boris Kolpackov1-1/+1
2018-05-19Update copyright yearKaren Arutyunov2-2/+2
2018-05-19Get rid of doc{version} and types for testscript and manifest in buildfilesKaren Arutyunov1-1/+1
2017-11-10Add $directory(), $base(), $leaf() and $extension() functionsKaren Arutyunov1-0/+65
2017-01-19Add support for portable path modifer and dot character escaping inversionKaren Arutyunov1-3/+3
2017-01-05Update copyright yearBoris Kolpackov2-2/+2
2017-01-05Add support for regex in runnerKaren Arutyunov1-3/+1
2016-12-16Convert tests/ to subproject, initial work on cross-testing supportBoris Kolpackov2-2/+4
2016-12-05Add optional actualize argument to $path.normalize()Boris Kolpackov1-10/+10
2016-12-01Implement testscript variable-ifBoris Kolpackov1-1/+1
Now a variable-only if is treated the same as a single variable when deciding whether it is part of a test or setup/teardown.
2016-12-01Add path.canonicalize() functionBoris Kolpackov1-1/+12
2016-12-01Organize tests/, factor common testscript fragmentsBoris Kolpackov2-9/+1
2016-11-30Add support for typed/untyped concatenated expansionBoris Kolpackov1-2/+2
2016-11-25Implement literal here-document supportBoris Kolpackov1-1/+1
2016-11-23Fix failing on Windows path functions testscriptKaren Arutyunov1-1/+1
2016-11-22Fix typoBoris Kolpackov1-1/+1
2016-11-21Change build.driver/path variable to build.path/process_pathBoris Kolpackov1-1/+1
2016-11-18Add function machinery, implement path.normalize()Boris Kolpackov2-0/+46
Note that multi-argument functions are not yet "callable" since there is no support for value packs.