aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2024-07-31Serialize manifest using new-fashioned multi-line mode introducer (as in ↵Karen Arutyunov4-43/+46
'foo:<newline>\<newline>')
2024-06-06Use -pthread instead of -lpthreadBoris Kolpackov2-2/+2
2024-05-09Add test for fdterm(/dev/null)Boris Kolpackov1-0/+5
2024-05-06Add libbutl-pkg-config source subdirectoryBoris Kolpackov4-2/+11
This is an additional (to libbutl) utility library which contains the source code of libpkg-config configured and tuned for our needs.
2024-05-06Add libbutl-odb source subdirectoryBoris Kolpackov2-0/+7
This is an additional (to libbutl) utility library which contains the source code of libodb, libodb-sqlite, and libsqlite3 configured and tuned for our needs.
2024-03-21Add next_word() overload that doesn't skip consecutive delimitersBoris Kolpackov2-0/+52
In particular, this version can be used to parse lines while observing blanks.
2024-02-27Fix curl constructor for nullfd input for HTTP POST methodKaren Arutyunov2-3/+6
2024-02-26Add curl constructors which allow to adjust curl command lineKaren Arutyunov2-4/+19
2024-02-26Allow nullfd input for HTTP POST method in curl class constructorKaren Arutyunov2-0/+10
2024-02-26Add read_http_status(), parse_http_status_code(), and ↵Karen Arutyunov1-3/+3
read_http_response_line() static functions to curl class
2024-02-12Add base64url_encode()Francois Kritzinger1-0/+69
2023-10-11Canonicalize Clang's *-w64-windows-gnu to *-w64-mingw32 (GH issue #288)Boris Kolpackov1-0/+4
Note that config.guess doesn't recognize *-w64-windows-gnu as a valid target triplet: Invalid configuration 'x86_64-w64-windows-gnu': Kernel 'windows' not known to work with OS 'gnu'.
2023-06-26Suppress -Wdangling-reference GCC 13 warningKaren Arutyunov1-0/+5
2023-06-26Suppress -Wunqualified-std-cast-call Clang 15 warningKaren Arutyunov1-0/+2
2023-06-12Fix unused static variable warning in Clang 16Boris Kolpackov1-0/+2
2023-05-25Add find builtinKaren Arutyunov2-0/+283
2023-03-13Move os-release facility from bpkg, add support for Mac OS, *BSD, WindowsBoris Kolpackov3-0/+287
2023-01-09Add mtime() and atime() to dir_entryKaren Arutyunov2-0/+28
2022-12-12Add support for omitting sub-projects from b_info() resultKaren Arutyunov1-7/+8
2022-12-12Support detecting inaccessible/dangling entries in dir_iterator, path_search()Karen Arutyunov5-15/+93
2022-11-01Fix getline_non_blocking() and add testKaren Arutyunov1-0/+77
2022-10-27Suppress bogus GCC 12 -Wrestrict warningBoris Kolpackov2-5/+5
2022-10-25Allow omitting minor version number in semantic_versionKaren Arutyunov1-12/+21
2022-10-19Canonicalize 'linux' to `linux-gnu' in target tripletBoris Kolpackov1-0/+4
In particular, GCC in Fedora now reports its target as x86_64-redhat-linux. Note that this canonicalization is consistent with config.sub.
2022-07-07Use [cmdline] type for canned commands in testscriptsKaren Arutyunov3-15/+15
2022-06-24Split and merge manifest value/comment pair differently depending on whether ↵Karen Arutyunov4-6/+141
it is multiline or not
2022-05-10Use our own implementation of C++14 threads on MinGWmingw-stdthreadBoris Kolpackov1-1/+12
2022-04-20Add butl::move_only_function[_ex] similar to C++23 std::move_only_functionBoris Kolpackov2-0/+155
2021-12-21Cleanup manifest roundtrip testsKaren Arutyunov1-4/+4
2021-11-24Add support for new-fashioned multi-line manifest value introducerKaren Arutyunov4-36/+103
2021-11-24Don't separate multi-line manifest value introducer from colon with space in ↵Karen Arutyunov3-24/+33
manifest serializer
2021-11-19Add openssl::info() overloadsKaren Arutyunov1-4/+20
2021-09-28Get rid of C++ modules related code and rename *.mxx files to *.hxxKaren Arutyunov46-807/+161
2021-09-24Fortify tests against NDEBUGKaren Arutyunov47-91/+141
2021-09-09Improve LZ4 exception descriptionsBoris Kolpackov1-3/+3
2021-09-09Implement lz4::{istream,ostream}Boris Kolpackov1-1/+8
2021-09-08Factor "buffered streambuf" interface from fdbuf to bufstreambufBoris Kolpackov1-6/+7
Also rename fdbuf to fdstreambuf for consistency.
2021-09-02Fix b-info testKaren Arutyunov1-1/+1
2021-08-06Fix small_vector(small_vector&&) to clear object it moves fromKaren Arutyunov1-0/+1
2021-08-06Add support for option positions to load_default_options()Karen Arutyunov2-10/+91
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