aboutsummaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-12-23 17:09:27 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-12-23 17:09:27 +0000
commit0a5fc5d663054eb836eafc258cc2f6792358e2c9 (patch)
treeeeffa69d84976079078e2c82b510fca0f60e552c /src/tools
parentfix a badly-applied patch, and also re-run automake which I forgot to do (diff)
downloadbreakpad-0a5fc5d663054eb836eafc258cc2f6792358e2c9.tar.xz
Issue 357: New Linux file_id code doesn't persist across strip. r=agl,nealsid at http://breakpad.appspot.com/49008
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@461 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/linux/dump_syms/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tools/linux/dump_syms/Makefile b/src/tools/linux/dump_syms/Makefile
index a0424c05..94871da7 100644
--- a/src/tools/linux/dump_syms/Makefile
+++ b/src/tools/linux/dump_syms/Makefile
@@ -113,6 +113,22 @@ stabs_reader_unittest.o: override CPPFLAGS += $(GTEST_CPPFLAGS) \
clean::
rm -f stabs_reader_unittest
+### Unit tests for google_breakpad::FileID.
+check: check-file_id_unittest
+check-file_id_unittest: file_id_unittest
+file_id_unittest: \
+ gmock-all.o \
+ gtest-all.o \
+ gtest_main.o \
+ file_id.o \
+ $(empty)
+CPP_EXECUTABLES += file_id_unittest
+file_id_unittest.o: file_id_unittest.cc
+file_id_unittest.o: override CPPFLAGS += $(GTEST_CPPFLAGS) \
+ $(GMOCK_CPPFLAGS)
+clean::
+ rm -f file_id_unittest
+
### Generic compilation rules.