aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-03-08Add recognition of *-apple-ios* target triplets, ios target classBoris Kolpackov1-0/+19
2020-12-08Add proper support for option files option to load_default_options()Karen Arutyunov2-29/+68
2020-11-30Canonicalize arm64 to aarch64 in target triplet, similar to config.subBoris Kolpackov1-0/+5
2020-11-25Allow multiple -e options for sed builtinKaren Arutyunov1-16/+39
2020-11-06Add fdselect() overload that also takes timeoutKaren Arutyunov1-6/+31
2020-11-06Add builtin::timed_wait(), builtin::try_wait(), and pseudo_builtin()Karen Arutyunov3-18/+166
2020-11-05Add process::term() and implement process::kill() on WindowsKaren Arutyunov3-0/+423
2020-11-05Fix 'unresolved external symbol' for process::timed_wait(milliseconds) on ↵Karen Arutyunov1-2/+8
Windows
2020-11-04Add test for wasm32-unknown-emscripten target tripletBoris Kolpackov1-0/+4
2020-10-01Add ext_mods parameter to b_info()Karen Arutyunov1-3/+4
2020-09-11Add support for arguments in default options files helpersKaren Arutyunov2-126/+264
2020-09-07Add normalize() function to host/URL class templatesKaren Arutyunov2-96/+213
Also add IPv6 verification to host constructor.
2020-08-24Recognize *-nto-qnx target triplets, extract versionBoris Kolpackov1-1/+7
2020-08-24Add target_triplet::representation() in addition to string()Boris Kolpackov1-9/+9
Also stop stripping `none-` prefix from the system component.
2020-06-30Expose command_run()'s @-substitution functionalityBoris Kolpackov1-3/+3
Also add support for different opening and closing substitution characters.
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