Commit ea628ae8 authored by Sergiu Dotenco's avatar Sergiu Dotenco Committed by Sergiu Dotenco

allow to define TEST_SRC_DIR as a macro

parent 33252580
......@@ -81,7 +81,7 @@ static inline string GetTempDir() {
#endif
}
#if defined(OS_WINDOWS) && defined(_MSC_VER)
#if defined(OS_WINDOWS) && defined(_MSC_VER) && !defined(TEST_SRC_DIR)
// The test will run in glog/vsproject/<project name>
// (e.g., glog/vsproject/logging_unittest).
static const char TEST_SRC_DIR[] = "../..";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment