mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Tests: added test for FileIO::GetLibraryFilename
Verify it does not return an empty path
This commit is contained in:
committed by
Baldur Karlsson
parent
f0a50cf4cc
commit
0d31fa28ee
@@ -199,6 +199,12 @@ string OSUtility::MakeMachineIdentString(uint64_t ident)
|
||||
|
||||
TEST_CASE("Test OS-specific functions", "[osspecific]")
|
||||
{
|
||||
SECTION("GetLibraryFilename")
|
||||
{
|
||||
std::string libPath;
|
||||
FileIO::GetLibraryFilename(libPath);
|
||||
CHECK_FALSE(libPath.empty());
|
||||
}
|
||||
SECTION("Environment Variables")
|
||||
{
|
||||
const char *var = Process::GetEnvVariable("TMP");
|
||||
|
||||
Reference in New Issue
Block a user