summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorDamjan Jovanovic <damjan@apache.org>2015-08-31 06:23:16 +0000
committerDamjan Jovanovic <damjan@apache.org>2015-08-31 06:23:16 +0000
commit4386b44824c18859acf06579884a685427355b26 (patch)
tree062099604f11c459e2647bb003399d066306072e /cppuhelper
parent72fd0079a6efa4f27c223f1a0d16dafaf1ff04f7 (diff)
Add a missing main() function to a main/cppuhelper test.
Notes
Notes: ignore: googletest
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/qa/unourl/cppu_unourl.cxx6
-rw-r--r--cppuhelper/qa/unourl/makefile.mk3
2 files changed, 7 insertions, 2 deletions
diff --git a/cppuhelper/qa/unourl/cppu_unourl.cxx b/cppuhelper/qa/unourl/cppu_unourl.cxx
index 5bdc6e318b25..1691b8926693 100644
--- a/cppuhelper/qa/unourl/cppu_unourl.cxx
+++ b/cppuhelper/qa/unourl/cppu_unourl.cxx
@@ -446,3 +446,9 @@ namespace cppu_unourl
}
} // namespace cppu_ifcontainer
+int main(int argc, char **argv)
+{
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}
+
diff --git a/cppuhelper/qa/unourl/makefile.mk b/cppuhelper/qa/unourl/makefile.mk
index abf0e169b29b..8011ea520869 100644
--- a/cppuhelper/qa/unourl/makefile.mk
+++ b/cppuhelper/qa/unourl/makefile.mk
@@ -40,8 +40,7 @@ all:
# BEGIN ----------------------------------------------------------------
# auto generated Target:joblist by codegen.pl
APP1OBJS= \
- $(SLO)$/cppu_unourl.obj \
- $(SLO)$/main.obj
+ $(SLO)$/cppu_unourl.obj
APP1TARGET= cppu_unourl
APP1STDLIBS=\
$(CPPUHELPERLIB) \