aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-08-05Convert default_options_start() to template function which accepts iterators ↵Karen Arutyunov1-1/+1
range
2021-08-02Add version_string, list of modules to b_info() resultBoris Kolpackov2-0/+14
Also only attempt to parse the string version to standard version if the version modules is loaded.
2021-07-08Also disable GCC -Wstringop-overread in testsBoris Kolpackov1-1/+2
2021-07-06Clear errno before calling strto*() functionsBoris Kolpackov2-0/+2
2021-04-20Disable bunch of bogus GCC warningsBoris Kolpackov1-0/+2
2021-03-31Add notion of thread environmentBoris Kolpackov1-19/+46
2021-03-30Fix occasionally failing terminate process testKaren Arutyunov1-15/+17
2021-03-27Fix occasionally failing timeout builtin testKaren Arutyunov1-2/+2
2021-03-26Add regex_replace_parse() overloadsKaren Arutyunov3-36/+59
2021-03-18Add fdstat()fdstatBoris Kolpackov1-5/+1
2021-03-12Add support for compressing/decompressing fdstreams with LZ4Boris Kolpackov6-0/+132
Importing LZ4 code from version 1.9.3.
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