summaryrefslogtreecommitdiff
path: root/solenv/gbuild/CppunitTest.mk
AgeCommit message (Collapse)AuthorFilesLines
2013-06-03re-base on ALv2 code. Includes:Michael Meeks1-21/+12
Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1397337 http://svn.apache.org/viewvc?view=revision&revision=1397315 http://svn.apache.org/viewvc?view=revision&revision=1396797 Patches contributed by Andre Fischer Fixed getcsym.awk to handle #-comments that contain special regexp chars. http://svn.apache.org/viewvc?view=revision&revision=1230971 118778: Added ADDITIONAL_REPOSITORIES environment variable and its automatic setup in configure. http://svn.apache.org/viewvc?view=revision&revision=1232004 118160: Added external CoinMP library. http://svn.apache.org/viewvc?view=revision&revision=1233909 Patches contributed by Herbert Duerr #i119168# use generic LICENSE file for langpacks and sdks http://svn.apache.org/viewvc?view=revision&revision=1310178 macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars http://svn.apache.org/viewvc?view=revision&revision=1183367 allow gbuild with empty sysroot on linux http://svn.apache.org/viewvc?view=revision&revision=1179186 Patches contributed by Ingo Schmidt native373: #164472# improvements for msi database http://svn.apache.org/viewvc?view=revision&revision=1167540 http://svn.apache.org/viewvc?view=revision&revision=1167539 Patches contributed by Jurgen Schmidt adapt setup package scripts to handle special DS_Store file for developer snapshot builds http://svn.apache.org/viewvc?view=revision&revision=1232430 imported patch extensions_i117681.patch http://svn.apache.org/viewvc?view=revision&revision=1172102 Patches contributed by Michael Stahl gbuild: RepositoryFixes.mk should be optional http://svn.apache.org/viewvc?view=revision&revision=1166123 xslt filter: remove the FLA horror wordml import filter: replace FLA usage with plain XSLT http://svn.apache.org/viewvc?view=revision&revision=1363727 Patch contributed by Oliver-Rainer Wittmann i#88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 Remove lots of OS2 conditionals, re-extract Rhino Java, unwind cppunit pieces, cleanup Mac image bits, remove coin-mp and re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand MPLv2 subset checking. Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-05-13Add missing \n.Jan Holesovsky1-1/+1
Change-Id: I2fbfd9bc214eff1f224e257a0142b64cb5ffaeb2
2013-05-08valgrind --trace-children=yesStephan Bergmann1-1/+1
...at least needed for PythonTest on Linux with internal python, where the valgrind'ed gb_Python_INSTALLED_EXECUTABLE is /bin/sh $(gb_DEVINSTALLROOT)/program/python. Also, remove --quiet again to avoid frustration ("when valgrind /is/ run, why doesn't it output any "==" lines at all?"). Change-Id: Id83e53f2b472b5af92e4aaec0c173ecdec45bc48
2013-04-30...and fix gb_UNIT_FAILED_MSG outputStephan Bergmann1-4/+4
Change-Id: I0fa3036c5be34eb598e0390430028ae818ebef0d
2013-04-30More helpful message how to re-run a unit test that failed.Jan Holesovsky1-2/+5
Change-Id: Ibd85ecd6a24611313a24b79b3e4b122eccd02a81
2013-04-18gdb-core-bt: don't talk about core files without a reason.Miklos Vajna1-2/+2
When exit code is <128, then the test probably just failed, it did not get a SIGSEGV or similar signal, so it's expected that no core file is created. Change-Id: Ie9e3599bd6738c04afacb95000d09f9dd2a5c426
2013-04-13add gb_CppunitTest_use_custom_headersDavid Tardon1-0/+1
Change-Id: I6bca241552bb6f8fa84cf8b45e91e9a86e12dc41
2013-04-03Show backtraces for core files from CppunitTests, tooStephan Bergmann1-1/+9
Change-Id: Idff2831913b6fb6e5b522ae36fffeb345e3a1140
2013-03-16auto-load the gdb helpers for cppunit test debuggingPeter Foley1-1/+1
Change-Id: I75e08fa1de5affdb3b42d169bb5ccac50c8c736e
2013-03-06do not execute unit tests when cross-compilingMatúš Kukan1-2/+0
For both build and host platform. Change-Id: I0fa9b5d85449887c2c6bd758fb1fecec9776d97c
2013-02-25Last use of obsolete gb_*_add_api is long goneStephan Bergmann1-1/+0
Change-Id: Ia6c938ef0e45ec86c0c202e95ef28d49fccd3497
2013-01-30Get rid of STAR_RESOURCEPATHStephan Bergmann1-1/+0
...the only remaining use was for CppunitTest to find the .res files in $(OUTDIR)/bin/. Get that solved by delivering the .res files also to $(OUTDIR)/unittest/install/program/resource/ (new gb_ResTarget_get_unittest_target). Change-Id: I370e7cab4223256356c7511b88ae63d9c0dbf215
2013-01-03do not set LD_LIBRARY_PATH twice for unittests at allLuboš Luňák1-6/+0
It is already set by gb_CppunitTest_CPPTESTPRECOMMAND (or should be), and doing it here again causes problems avoided by 265feeb31ffc08cd4ccbe48398cd41d9cf1e2a25 , or when ICECREAM_RUN is set. Change-Id: I5ebe8ad735ea6ff8cb1c205c55c45b93550c8b55
2013-01-02fix 'DEBUGCPPUNIT=TRUE make subsequenttest'Noel Grandin1-1/+7
When running a unit test under GDB, we do not want to prefix the cppunittester executable with the LD_LIBRARY_PATH, because that has already happened before the "gdb --args" part of the command line. Change-Id: If3f81ba3fc3e5260142d7e9c2d4a78e9ca63382c Reviewed-on: https://gerrit.libreoffice.org/1532 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-31I did not want to push that...David Tardon1-2/+2
It does not work, anyway. This reverts commit ee18b30b0391a443a51d7b97060f118478c202af. Change-Id: Ibe21a2a62ecbfaf8dcd87113bde386050ffde25a
2012-12-31move gb_Executable_get_command back into Executable.mkDavid Tardon1-2/+2
Change-Id: Ia556cbfda5c5c3d9e1b2b7b1f488b079ce420367
2012-12-30use runtime deps in gbuild classesDavid Tardon1-3/+4
Change-Id: I007e0293c354d6f930dffb4a9a2c2df5640a673b
2012-12-19serialize all unit tests runs with icecream_run.Michael Meeks1-2/+2
Change-Id: Iaed997a4c9a36d618934c5870c65c3006c44561d
2012-12-10userfriendly make targets for build and cleanLuboš Luňák1-0/+1
So that now it's possible to do just 'make CppunitTest_sw_macros_test' instead of 'make /home/llunak/build/src/l2/workdir/unxlngx6/CppunitTest/sw_macros_test.test' Change-Id: Ibd1e9ef4fc825043a71bd669b2f5c37ffec68e33 Reviewed-on: https://gerrit.libreoffice.org/1253 Reviewed-by: Peter Foley <jpfoley2@gmail.com> Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-12-10rename to gb_Library_set_precompiled_headerLuboš Luňák1-0/+1
There can be only one precompiled header with some compilers anyway. Change-Id: I59e84bee2f57f36753b59b7518d701573affac12
2012-12-10bring back precompiled headers supportLuboš Luňák1-0/+1
This is mostly a revert of 992757cc5ebfb1df42636b8d3269cdbc10fc4148 and bc78ac68c2492e63a680f68b524c4a51179ea83e, with tweaks to apply. Also only MSVC support for now. Change-Id: Ia926b3c28125b52012156ccfd47932837b09d20a
2012-12-05serialize valgrind using icerunLuboš Luňák1-1/+1
Change-Id: I9225f668d0e585126cec07daf7621d6c6cade841
2012-12-05and valgrind leak errors or other info is probably not useful in unittestsLuboš Luňák1-1/+1
Change-Id: Id3d899e7e9ef86d0f3a24502af74ec3a554037ea
2012-12-05make unittests abort build if valgrind finds any error in themLuboš Luňák1-1/+1
Change-Id: I4b71b82cb426a185c6534f5a6a7c1eef422b2699
2012-11-25Work around make 3.81 pattern rule problemsRob Snelders1-8/+8
Change-Id: Ife5cccd8c7011199e370cd68a76a077451675a55
2012-11-25Work around Windows' missing symlinksStephan Bergmann1-8/+16
Instead of creating a single solver/*/installation/program -> ../../bin symlink used by all gb_CppunitTest_use_executable together, individually copy each gb_CppunitTest_use_executable into a true solver/*/install/program/ diretory. (Renamed solver/*/installation/ to solver/*/install/ so that old existing solver/*/installation/program symlinks on non-Windows platforms would not interfere with the new cp rule.) Change-Id: I4ce82b41856056669ad074ff2ef8004fdc6533c1
2012-11-24Turn PDF import from bundled extension to plain codeStephan Bergmann1-0/+6
No need for dirty hacks linking in basegfx objects statically any more. To avoid unnecessary confusion between the newly plain code and any instance of the old extension still installed (per-user or shared), I renamed all relevant UNO implementation identifiers from com.sun.star.comp.documents.* to org.libreoffice.comp.documents.*. Also, existing installations of the extension are explicitly not migrated to new user profiles. The xpdfimport executable is now in program/, its xpdfimport_err.pdf in share/xpdfimport/. To simplify finding the _err.pdf from xpdfimport, its full pathname is now given as additional second argument to xpdfimport. To find xpdfimport executable from CppunitTest, CppunitTest creates a symlink from solver's unittest/installation/program to solver's bin, so that "$BRAND_BASE_DIR/program/xpdfimport" works there (as CppunitTest now sets BRAND_BASE_DIR to solver's unittest/installation). The sdext/source/pdfipmort/dialogs/ Basic stuff appeared to be unused (even though it was included in the .oxt) and has been removed. The --disable-ext-pdfimport configure switch is renamed to --disable-pdfimport. Having it still conditional requires some pdf_Portable_Document_Format vs. pdf_Portable_Document_Format_import foo in module filter. Change-Id: Iee58c2f6187142a418decc9ea3a5df10eb7e0523
2012-11-24Move in-build liblangtag data to solver's unittest/installation/shareStephan Bergmann1-1/+1
...let BRAND_BASE_DIR point to solver's unittest/installation during CppUnit tests, and get rid of LIBLANGTAG_SHARE special case. (Intending to add further code to CppUnit tests soon that requires a fake BRAND_BASE_DIR, so clean this up now.) Change-Id: Ia5f0f247e54952f901c37ca31eda53f9c6591458
2012-11-22Probably want to check CROSS_COMPILING here, not (just) iOSTor Lillqvist1-1/+1
Change-Id: I5b9f6323e80b69e5baf81016ac92eda0b5bdd13d
2012-11-21re-base on ALv2 code. Includes:Michael Meeks1-0/+1
Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
2012-10-22allow LDFLAGS from gbuild to be selective tooLubos Lunak1-1/+1
Just like CXXFLAGS can be controlled using --enable-selective-debuginfo. Non-debug libraries can be debug-stripped this way, which can save quite some disk space with those cppunittests which just include all .o's from sw/sc. Change-Id: Ib947f76f535161e4eef1421a5539df5e25fa4042
2012-10-10gb_CppunitTest_use_api is specialMatúš Kukan1-2/+10
Change-Id: I5f4f1a5b78333aa294c334870412599f76573aef
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-1/+2
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl1-0/+1
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: clean up Mac OS X framework handling:Michael Stahl1-0/+1
There are currently 3 different mechanisms being used for frameworks, which is of course intolerable so we invent a 4th one and standardize on it: gb_LinkTarget_use_darwin_frameworks (This doesn't mean using add_libs or externals was wrong, it was just inconsistent... and i don't see an obvious benefit of using externals here) Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-0/+1
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-22fix URE depsDavid Tardon1-0/+2
Change-Id: Ifbcd2c7db1985ca8fcc74dbbe74ffb93177d6490
2012-09-22fix configuration depsDavid Tardon1-1/+1
Change-Id: Ie431fadb4f11284e231112744af80bfb5c219d94
2012-08-31stuff in a mechanism to find the liblangtag share dir during unit testsCaolán McNamara1-0/+1
Change-Id: Idf67c3dfbff7ee5c13831159a913ce8a517732ca
2012-08-10gbuild: detect calls to removed gb_CppunitTest_use_extra_configurationMichael Stahl1-0/+4
Change-Id: I8a5e8594e5af04bb4b40b900720ecdd7431788f6
2012-08-10gbuild: missing dep on $(OUTDIR)/unittest/registry for testsMatúš Kukan1-3/+4
Change-Id: Ic80f57946e7b3f9c1bd99ed65955cf3c280063d2
2012-08-09gbuild: there are no old components anymoreMatúš Kukan1-25/+0
..and binfilter will die Change-Id: I9a773f06ed5332c2258f0a29ea39349b27ece2ac
2012-08-03gbuild: run JunitTests and CppunitTests with DISABLE_SAL_DBGBOXMichael Stahl1-0/+1
DBGSV_ERROR_OUT=shell already disables GUI message boxes on assertions, but it does not take effect during early startup and late shutdown, when the tools redirection hooks are not installed; setting DISABLE_SAL_DBGBOX disables these on Windows in osl_assertFailedLine. Change-Id: Ibb62054741e85dc966a36cb20515c3af8e0d9c11
2012-07-11ure cppunit tests depend on unobootstrapprotectorCaolán McNamara1-0/+2
Change-Id: I998d0f46020d3f5ea6fd387fbed8480e3d57e59a
2012-07-06re-base on ALv2 code. Includes:Michael Meeks1-0/+2
Patches contributed by Mathias Bauer: cws mba34issues01: #i117713#: remove superfluous assertions about field unit fallbacks http://svn.apache.org/viewvc?view=revision&revision=1172341 cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117708#: status indicator for inactive documents http://svn.apache.org/viewvc?view=revision&revision=1172358 cws mba34issues01: #i116025#: fix typo and add missing treatment of new parameter http://svn.apache.org/viewvc?view=revision&revision=1172359 cws mba34issues01: #i117024#: rework parameter conversion for load/save slots http://svn.apache.org/viewvc?view=revision&revision=1172360 cws mba34issues01: #i116803#: possible crash on Linux when dispatch.cxx is compiled with optimization http://svn.apache.org/viewvc?view=revision&revision=1172367 cws mba34issues01: #i114600#: fix compiler warning for name clash found on Solaris http://svn.apache.org/viewvc?view=revision&revision=1172371
2012-06-27targetted re-work of cppunit pieces.Michael Meeks1-0/+1
2012-06-26gbuild: add gb_CppunitTest_use_executableMichael Stahl1-0/+4
and use it in sdext/CppunitTest_pdfimport.mk, which could fail previously in a parallel build. Change-Id: I3f251c945f5841c277a71a19fd411ecd77dec3b5
2012-05-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan1-1/+1
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-05-08gbuild: replace gb_LinkTarget_set_objcflags with add_objcflagsMichael Stahl1-0/+1
2012-05-08gbuild: refactor selective symbols again:Michael Stahl1-1/+1
The previous commit works but results in a ~0.4 second slowdown on tail_build, which is completely unacceptable; seems that at the cost of another ugly global variable in Module.mk we can get the performance back and then some, so refactor this again...