60 walk (
"/usr/bin:/usr/lib");
71 for (
auto const& pathElm : path)
72 cout <<
"▶"<< pathElm <<
"◀"<< endl;
81 string expected{exePath.parent_path() /
"modules"};
83 string searchSpec =
"xyz:$ORIGIN/modules:abc";
85 CHECK (*sp ==
"xyz"_expect);
89 CHECK (*sp ==
"abc"_expect);
Helper: Access a path Specification as a sequence of filesystem Paths.
Helper to produce better diagnostic messages when comparing to an expected result string.
void resolveEmbeddedOriginToken()
Includes the C++ Filesystem library and provides some convenience helpers.
Implementation namespace for support and library code.
fs::path findExePath()
retrieve the location of the executable
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Helpers to handle directory search paths.
A collection of frequently used helper functions to support unit testing.
#define VERIFY_ERROR(ERROR_ID, ERRONEOUS_STATEMENT)
Macro to verify that a statement indeed raises an exception.
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...