diff options
-rw-r--r-- | sal/cppunittester/cppunittester.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx index 51bc5c68a06e..148eed0e1b51 100644 --- a/sal/cppunittester/cppunittester.cxx +++ b/sal/cppunittester/cppunittester.cxx @@ -237,6 +237,9 @@ public: #ifdef UNX EyecatcherListener eye; result.addListener(&eye); + // set this to track down files created before first test method + std::string lib(testlib.substr(testlib.rfind('/')+1)); + setenv("LO_TESTNAME", lib.c_str(), true); #endif CppUnit::TestRunner runner; |