DescriptionLocate test data more robustly.
Test code that requires test data should call Paths::TestDataRoot() to
obtain the test data root. This will use the CRASHPAD_TEST_DATA_ROOT
environment variable if set. Otherwise, it will look for test data at
known locations relative to the executable path. If the test data is not
found in any of these locations, it falls back to using the working
directory, the same as the current behavior.
BUG=crashpad:4
TEST=crashpad_util_test Paths.TestDataRoot and others
R=rsesek@chromium.org, scottmg@chromium.org
Committed: https://chromium.googlesource.com/crashpad/crashpad/+/32a9d410ca0b22a17f5eade86057e6c4cdfa7f81
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Check marker_path #Patch Set 4 : 2015 #
Messages
Total messages: 6 (1 generated)
|