DescriptionA poor man's release-time assert for failing to open the test data file.
This patch prevents running unit tests from an incorrect directory in
release mode. Release mode builds ignore assert(file.is_open()) for the
test data file, which causes many hard-to-diagnose crashes due to the
rest of the code relying on that file being open. See
http://crbug.com/395169 and http://crbug.com/396203 for examples.
R=roubert@google.com
Committed: https://code.google.com/p/libaddressinput/source/detail?r=316
Patch Set 1 #
MessagesTotal messages: 3
|