summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-12-20 14:44:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-12-20 14:44:56 +0000
commit3d91eca0d2ee9fec699ec678bed492c3bc30d9f1 (patch)
treea7dbd5fdbbef06970709f7982801c5aee5dfe7e7
parent0b9ad2ddff997ccf85c6d4d216a7f8b471057001 (diff)
cppcheck: always build these tests now
-rw-r--r--starmath/prj/build.lst5
-rw-r--r--starmath/qa/cppunit/makefile.mk7
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx1
3 files changed, 10 insertions, 3 deletions
diff --git a/starmath/prj/build.lst b/starmath/prj/build.lst
index cbfff6772402..1eb4c2334f25 100644
--- a/starmath/prj/build.lst
+++ b/starmath/prj/build.lst
@@ -1,4 +1,4 @@
-sm starmath : l10n svx NULL
+sm starmath : l10n svx dtrans NULL
sm starmath usr1 - all sm_mkout NULL
sm starmath\inc nmake - all sm_inc NULL
sm starmath\prj get - all sm_prj NULL
@@ -6,4 +6,5 @@ sm starmath\res get - all sm_res NULL
sm starmath\sdi nmake - all sm_sdi NULL
sm starmath\source nmake - all sm_sorce sm_sdi sm_inc NULL
sm starmath\util nmake - all sm_util sm_sorce NULL
-sm starmath\qa\unoapi nmake - all sm_qa_unoapi NULL
+sm starmath\qa\unoapi nmake - all sm_qa_unoapi NULL
+sm starmath\qa\cppunit nmake - all sm_qa_cppunit sm_util NULL
diff --git a/starmath/qa/cppunit/makefile.mk b/starmath/qa/cppunit/makefile.mk
index 621ca7c84052..4e043e8557bd 100644
--- a/starmath/qa/cppunit/makefile.mk
+++ b/starmath/qa/cppunit/makefile.mk
@@ -115,7 +115,14 @@ $(MISC)/$(TARGET)/services.rdb .ERRREMOVE : $(MISC)/$(TARGET)/udkapi.rdb makefil
-c $(DLLPRE)tk$(DLLPOSTFIX)$(DLLPOST) \
-c $(DLLPRE)sfx$(DLLPOSTFIX)$(DLLPOST) \
-c $(DLLPRE)vcl$(DLLPOSTFIX)$(DLLPOST) \
+ -c $(DLLPRE)mcnttype$(DLLPOST) \
-c i18npool.uno$(DLLPOST)
+.IF "$(OS)" == "WNT"
+ $(REGCOMP) -register -br $(MISC)/$(TARGET)/udkapi.rdb -r $@ -wop \
+ -c $(DLLPRE)sysdtrans$(DLLPOST) \
+ -c $(DLLPRE)ftransl$(DLLPOST)
+.ENDIF
+
#Tweak things so that we use the .res files in the solver
STAR_RESOURCEPATH:=$(PWD)/$(BIN)$(PATH_SEPERATOR)$(SOLARBINDIR)
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index e1e5bf41b5b9..ef519755813a 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -135,7 +135,6 @@ void Test::tearDown()
Test::~Test()
{
- uno::Reference< lang::XComponent >(m_xContext, uno::UNO_QUERY_THROW)->dispose();
}
void Test::tmEditMarker()