aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2020-06-29Add path::combine(string,separator)Boris Kolpackov1-0/+19
In particular, this can be used to recombine a path during iteration: dir_path r; for (auto i (d.begin ()); i != d.end (); ++i) r.combine (*i, i.separator ());
2020-06-26Improve std::optional to better deal with lack of copy/move constructorsKaren Arutyunov2-0/+49
2020-06-24Don't use utime() on WindowsBoris Kolpackov1-1/+1
It has the seconds precision even if the time is unspecified.
2020-06-23Add note that access time tests may fail with if running on noatime mountBoris Kolpackov2-0/+6
For example, this happens on NetBSD.
2020-06-19Adapt mv builtin tests to terminology changeKaren Arutyunov1-6/+6
2020-06-18Complete NetBSD compatibilityBoris Kolpackov2-1/+12
2020-06-11Add date builtinKaren Arutyunov1-0/+48
2020-06-11Add workaround for MinGW GCC bug so to_stream(timestamp) properly handles %e ↵Karen Arutyunov1-0/+3
specifier
2020-06-03Add builtin weightKaren Arutyunov1-3/+9
Also invent the notion of external builtin (builtin_info::function is NULL).
2020-04-07Add ability to print process_env environmentBoris Kolpackov1-0/+36
2020-04-01Add daytime() functionKaren Arutyunov1-0/+12
2020-03-17Fix ln builtin not to complete relative target against working directoryKaren Arutyunov4-6/+6
Now it preserves the relative path when creates a symlink and completes it against the link directory when creates a hardlink or a copy.
2020-03-17Add readsymlink(), followsymlink(), and try_followsymlink()Karen Arutyunov5-19/+203
2020-03-10Fix directory symlink tests failing on Windows in Developer ModeKaren Arutyunov3-92/+86
2020-03-09Add more support for symlinks on WindowsKaren Arutyunov8-179/+676
See mksymlink() for details of the symlinks support on Windows.
2020-03-09Add workaround for MinGW GCC bug #84583 (produces CRCRLF sequences in ↵Karen Arutyunov1-34/+17
preprocessed files)
2020-03-03Revert previous (erroneously pushed to master) commitKaren Arutyunov4-62/+17
2020-03-02BackupKaren Arutyunov4-17/+62
2020-02-26Add notion of validator to char_scanner and make sure manifest is UTF-8Karen Arutyunov4-12/+257
This involves implementing utf8_validator and UTF-8 utility functions and using them during the manifest parsing, serialization, and rewriting.
2020-02-12Fix curl testscriptKaren Arutyunov1-8/+8
2020-02-12Rename fdnull() to fdopen_null()Karen Arutyunov4-10/+11
2020-02-06Drop copyright notice from source codeBoris Kolpackov123-123/+0
2020-01-28Add utf8() predicateKaren Arutyunov2-0/+164
2019-11-14Add to_stream(ostream, path, bool)Karen Arutyunov1-6/+22
2019-10-29Only enable backtrace support on Linux if using glibcBoris Kolpackov1-1/+1
Other libc implementations, for example musl, don't support this out of the box.
2019-10-08Fix 'unused variable' warning issued by Clang on WindowsKaren Arutyunov1-0/+3
2019-10-07Adapt tests for building with Clang on WindowsKaren Arutyunov1-3/+3
2019-10-01Move path match to path-pattern.?xxKaren Arutyunov1-0/+2
2019-09-28Swap entry and pattern parameters in path_match()Karen Arutyunov2-165/+168
2019-09-28Rename casecmp() function and case_compare_[c_]string structs to icasecmp() ↵Karen Arutyunov1-14/+14
and icase_compare_[c_]string
2019-09-27Add support for bracket expressions in wildcard pattern matchingKaren Arutyunov1-2/+68
2019-09-27Add support for builtin escaping to command running APIKaren Arutyunov1-0/+10
2019-09-27Add builtins support to command running APIKaren Arutyunov2-2/+37
2019-09-27Add builtins supportKaren Arutyunov15-0/+1992
2019-08-27Fix backslash escaping in windows process argumentsKaren Arutyunov1-8/+64
2019-08-23Fix some testscripts failing if project path contain spacesKaren Arutyunov2-2/+2
2019-08-22Add extra_dir parameter for load_default_options()Karen Arutyunov2-11/+105
2019-08-21Don't load default options from directories which subdirectory contains ↵Karen Arutyunov3-26/+177
--no-default-options
2019-08-14Add load_default_options() function template overload that accepts tracing ↵Karen Arutyunov1-3/+5
function
2019-08-12Add default options loading and merging APIKaren Arutyunov3-0/+302
2019-08-12Use new fdstream constructorBoris Kolpackov1-1/+1
2019-08-12Apply previous fix to fdstream::open()Boris Kolpackov1-21/+27
2019-08-12Add few fdstream constructor overloadsBoris Kolpackov2-5/+5
2019-08-01Combine multiple single-character flags into a single argument for ↵Karen Arutyunov2-10/+10
testscript commands
2019-06-03Fix missing for Windows traits alias renamingKaren Arutyunov1-1/+1
2019-06-03Rename traits alias to traits_type for basic_path, basic_url, and ↵Karen Arutyunov2-8/+8
string_table class templates
2019-05-30Improve backtrace testKaren Arutyunov2-17/+83
Check that setting terminate handler doesn't change the way a process terminates on unhandled exception.
2019-05-28Add backtrace()Karen Arutyunov3-0/+129
2019-05-24Increase standard and semantic versions major, minor, and patch max values ↵Karen Arutyunov3-148/+70
up to 99999
2019-05-12Fix the 'possible loss of data' 32-bit VC warningKaren Arutyunov1-1/+1