summaryrefslogtreecommitdiff
path: root/testing/utils/path_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'testing/utils/path_service.h')
-rw-r--r--testing/utils/path_service.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/utils/path_service.h b/testing/utils/path_service.h
index 96fd69e889..fc0042ca17 100644
--- a/testing/utils/path_service.h
+++ b/testing/utils/path_service.h
@@ -23,12 +23,13 @@ class PathService {
static bool GetExecutableDir(std::string* path);
// Retrieve the root directory of the source tree.
- // Assume executables always run from out/<Debug|Release>/, the source
+ // Assume executables always run from out/<build_dir_name>/, so the source
// directory is two levels above the executable directory.
static bool GetSourceDir(std::string* path);
// Retrieve the test data directory where test files are stored.
- // Currently, the test dir is under <source_dir>/testing/resources/.
+ // Try <source_dir>/testing/resources/ first. If it does not exist, try
+ // checking <source_dir>/third_party/pdfium/testing/resources/.
static bool GetTestDataDir(std::string* path);
// Get the full path for a test file under the test data directory.