Skip to content

Commit

Permalink
clfiu
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal committed Dec 29, 2024
1 parent 4c5991c commit b065231
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions library/testing/TestSDKEngineExceptions.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,12 @@ int TestSDKEngineExceptions(int argc, char* argv[])
test.expect<f3d::engine::plugin_exception>("load plugin with invalid long name",
[&]() { f3d::engine::loadPlugin("/" + std::string(257, 'x') + "/file.ext"); });


#ifdef __linux__
// Test error handling without "HOME" set
unsetenv("HOME");
test.expect<f3d::engine::cache_exception>("Create engine without HOME set",
[&]() { std::ignore = f3d::engine::createNone(); });
#endif
test.expect<f3d::engine::cache_exception>(
"Create engine without HOME set", [&]() { std::ignore = f3d::engine::createNone(); });
#endif

return test.result();
}

0 comments on commit b065231

Please sign in to comment.