Skip to content

Commit

Permalink
Use the correct directory for reading test data in libaddressinput.
Browse files Browse the repository at this point in the history
This enables running libaddressinput unit tests on DrMemory bots, which
work from the directory above src/.

TBR=estade@chromium.org
BUG=395169,396203

Review URL: https://codereview.chromium.org/401883006

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285093 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
rouslan@chromium.org committed Jul 24, 2014
1 parent 9a5e66b commit 91f894f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
3 changes: 2 additions & 1 deletion third_party/libaddressinput/libaddressinput.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{
'includes': ['src/cpp/libaddressinput.gypi'],
'variables': {
'libaddressinput_test_data_dir%': 'src/third_party/libaddressinput/src/testdata',
'libaddressinput_util_files': [
'src/cpp/src/address_data.cc',
'src/cpp/src/address_field.cc',
Expand Down Expand Up @@ -144,7 +145,7 @@
'chromium/trie_unittest.cc',
],
'defines': [
'TEST_DATA_DIR="third_party/libaddressinput/src/testdata"',
'TEST_DATA_DIR="<(libaddressinput_test_data_dir)"',
],
'include_dirs': [
'../../',
Expand Down

This file was deleted.

0 comments on commit 91f894f

Please sign in to comment.