test: fixup unit-test naming
Fixup naming convention for unit-test files and add to gitignore.
Change-Id: I0fe5d167e52c4a05d1c89dfd996afdde4b48a4c9
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/.gitignore b/.gitignore
index 0e8d05d..c13c7cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,6 +40,10 @@
ltmain.sh
missing
test-driver
+*_unittest
+*_unittest.log
+*_unittest.trs
+test-suite.log
# Custom generated files
diff --git a/test/Makefile.am b/test/Makefile.am
index 9afb25a..589e56d 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -10,14 +10,14 @@
# Run all 'check' test programs
check_PROGRAMS = \
- firmware_handler \
- firmware_stat
+ firmware_handler_unittest \
+ firmware_stat_unittest
TESTS = $(check_PROGRAMS)
-firmware_handler_SOURCES = firmware_handler_unittest.cpp
-firmware_handler_LDADD = $(top_builddir)/firmware_handler.o
+firmware_handler_unittest_SOURCES = firmware_handler_unittest.cpp
+firmware_handler_unittest_LDADD = $(top_builddir)/firmware_handler.o
-firmware_stat_SOURCES = firmware_stat_unittest.cpp
-firmware_stat_LDADD = $(top_builddir)/firmware_handler.o
+firmware_stat_unittest_SOURCES = firmware_stat_unittest.cpp
+firmware_stat_unittest_LDADD = $(top_builddir)/firmware_handler.o