summaryrefslogtreecommitdiff
path: root/solenv/gbuild/JunitTest.mk
AgeCommit message (Collapse)Author
2017-06-05gb_SUPPRESS_TESTS to build tests but not run themStephan Bergmann
Change-Id: I390b97bbacfc123b952be2b54cf1333b4d5c24a7
2015-06-19qadevOOo: fix _XDataPilotTables failure in non-english localesMichael Stahl
Set the UILocale to en but do that with a registrymodifications.xcu as setting it via configmgr requires a restart. Change-Id: I26d9f6aa07852a7f18e2b3b7baccdb2e85524ea4
2015-06-15make debugrun under WindowsJuergen Funk
Debugging with Visual-Studio, attach to soffice.bin Description: Start make debugrun after the start of LO, in VS-Debugger "Attach to Process" to the soffice.bin then start in other box the test with make gb_JunitTest_DEBUGRUN=T JunitTest_YYY" Change-Id: I44571d1d4feafe9ce836d71781eaf793fe72cb92 Reviewed-on: https://gerrit.libreoffice.org/16290 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-19Add support for external hamcrest when using junit 4.11+Peter Foley
Starting with junit 4.11 hamcrest is no longer bundled, so add a --with-hamcrest option to support this. Change-Id: Icdae946af82b9c56bf25d37cbf88275fc6a6a1eb Reviewed-on: https://gerrit.libreoffice.org/11383 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-03This local hack was pushed by mistakeStephan Bergmann
...as part of 5ab1098d5fbc1ba092da73af2b92e5bcdd7a3f8d "Generalize -fsanitize=address checks." Change-Id: I6141746b2d8059bd6bbcc466a86dd3da3c55f592
2014-08-08Generalize -fsanitize=address checksStephan Bergmann
...that are at least also relevant for -fsanitize=undefined Change-Id: I39044d2a73912a605af8e965eb1cdf8dfd4f0051
2014-03-31Remove now unused obsolete tools/debug.hxx functionalityStephan Bergmann
Change-Id: I1bc585af8f0189dfa219bd42a5f09871a006c6ea
2014-03-24Revert "use $(value ...) to reduce escalating double-quoting of dollars"Stephan Bergmann
This reverts commit d2c16eb81a813f709552bd840897047fe98eb131, which caused JunitTests to call java with a command line containing -Dorg.openoffice.test.arg.env=LD_LIBRARY_PATH"" instead of -Dorg.openoffice.test.arg.env=LD_LIBRARY_PATH"${LD_LIBRARY_PATH+=$LD_LIBRARY_PATH}" (and thus caused a build against a local trunk GCC, that requires LD_LIBRARY_PATH to find the corresponding libstdc++.so.6, to fail). Change-Id: Ia9613f5a7c6dff1ff6883fc4c079ffaacd1c1b59
2014-03-19use $(value ...) to reduce escalating double-quoting of dollarsBjoern Michaelsen
Change-Id: I92b4c1be5d8e051a4d716900bcc5dd7bb621017b Reviewed-on: https://gerrit.libreoffice.org/8658 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-11-04gbuild: remove error stubs for renamed/removed functionsMichael Stahl
Change-Id: If1d0d5294af87f2b780deadb21d12a6ee90dead6
2013-10-25gbuild: refactor Jar target to stop using OUTDIRMichael Stahl
- gb_Jar_get_target points to layer-specific location - remove gb_Jar_get_outdir_target - add OXT and NONE layers - add a rule for every installed Jar to avoid problems with conflicting pattern rules in instdir Change-Id: Icf11869a454a7a52791c5ae257fc5da87aa46dc2
2013-09-23Try to fix cross-compilationTor Lillqvist
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
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-04-19Interactive JuniTest debugging on Mac OS X, tooStephan Bergmann
Change-Id: If1faab6b5903e287d800899f243b8b568b27c312
2013-03-21gbuild: JUnitTest: do not remove user-dir after test runsMichael Stahl
The user-dir is already removed before the test runs, which is more important; it may be convenient to look at documents written by the tests, and these end up in the user-dir. Change-Id: I53cc1ca49c6dfc5fa3e69f55413cf3eb8676befa
2013-03-12gbuild: correct instructions for running an individual junit testMatúš Kukan
Change-Id: Ied3e6c042bc6cbdbfe0e9773d5c1e1de55141902
2012-12-10userfriendly make targets for build and cleanLuboš Luňák
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-11-16fixed java classpath parameter (required for gcj)Enrico Weigelt, metux ITS
Change-Id: I0ad426a8791ab514978e01914f9f797b45d0c79a Reviewed-on: https://gerrit.libreoffice.org/1073 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-29Setting CLASSPATH/XCLASSPATH appears to be a leftoverStephan Bergmann
...from the old dmake and/or Hamburg-specific set up. Change-Id: I441ce66dd91d353196cd9d1a9853720195a6fcdc
2012-08-17gbuild: remove some cruft from java stuffMichael Stahl
Change-Id: If1917d5aecfbb4cea230075d974d7f57a7a8ea4e
2012-08-17gbuild: add gb_Junit_use_external and clean up connectivity complex testMichael Stahl
Change-Id: I8c4b6ff6b1993d1c4de68696089f86fbcf4cecc6
2012-08-17gbuild: register all jarsMichael Stahl
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-03gbuild: run JunitTests and CppunitTests with DISABLE_SAL_DBGBOXMichael Stahl
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-15gbuild: un-break setting classpath on Windows:Michael Stahl
Apparently LO patched GNU make 3.82 interprets the semicolon which is the value of $(gb_CLASSPATHSEP) as a terminator if it occurs while setting a target local variable; the part of the value that follows the first semicolon is cut off. Hence escape the $(gb_CLASSPATHSEP) and $(XCLASSPATH) vars. Change-Id: I213dba7155f9515e492c20cfff3bef1c4d8269fc
2012-07-10Avoid unhelpful 'Binary file ... matches' output instead of error informationStephan Bergmann
...when grep happens to consider the log file to be binary (for whatever reason) as can be obvserved to happen on Linux-RHEL6-x86_64@14-with-check tinderbox. Change-Id: I5da0a792b45b83939c9c26897d30ddf8b0a0c0b0
2012-07-10gbuild: sigh... that didn't help... let's try an eval hereMichael Stahl
Change-Id: Ief6367a5fb8e2e1000bb94c7a4e6cf2095b24543
2012-05-09gbuild: remove gb_Helper_abbreviate_dirs_nativeMatúš Kukan
Change-Id: I0a3ad6553692fc21eaf96cf35e9c343b4d716c21
2012-04-09remove unused makefile codeMatúš Kukan
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06gbuild: add customtarget dependencies for java stuffMatúš Kukan
2012-02-17Various fixes for JunitTestsStephan Bergmann
2012-02-17Pass JunitTest jar deps to underlying JavaClassSetStephan Bergmann
...and make underlying JavaClassSet implicitly depend on OOO_JUNI_JAR ...and remove unused gb_JunitTest_set_classpath
2011-12-25add add_package_dependencies for JunitTest tooDavid Tardon
2011-12-09Don't misuse CLASSPATH for what goes into the -cp option to javacTor Lillqvist
CLASSPATH is supposed to show where to find the classes needed by Java programs running at build time. The -cp switch to javac tells where to find classes referenced by the code being compiled. These are different things. (But it doesn't seem to have mattered much in our build system.) So use T_CP instead, named in the same fashion as T_CXXFLAGS etc. But... for some reason this change, which as such should be just more or less cosmetic, also fixes a build problem in the "scripting" module on Windows, seen by Noel Grandin (http://comments.gmane.org/gmane.comp.documentfoundation.libreoffice.devel/19016 ) and me.
2011-12-07only depend from dev-install on build if it is an explicit goalBjoern Michaelsen
2011-12-07update JunitTest hintBjoern Michaelsen
2011-12-07do not globally export G_SLICE, GLIBCXX_FORCE_NEW, DBGSV_ERROR_OUTBjoern Michaelsen
2011-11-25fix stderr pipingStephan Bergmann
2011-11-25some hints cleanupBjoern Michaelsen
2011-11-25create debugrun target, adjust JunitTests to themBjoern Michaelsen
2011-11-25make gbuild makefiles run independant of pwd againBjoern Michaelsen
2011-11-25some more junit hint to run just one testBjoern Michaelsen
2011-11-25cut out noise in junit stacktrace for output, but keep them in logBjoern Michaelsen
2011-10-23no need for SRCDIR parameter hereMatúš Kukan
2011-09-16Simplified setting headless mode for smoke-/subsequenttetss.Stephan Bergmann
Both C++ and Java OfficeConnection code now always pass --headless, so no need for SAL_USE_VCLPLUGIN=svp etc. any more. Only some C++ unit tests that link against vcl still need an explicit --headless.
2011-09-09sb140: #i117081# solenv/gbuilt/{Cpp,J}unitTest.mk typosStephan Bergmann
2011-09-09sb140: #i117080# solenv/gbuilt/JunitTest.mk fails to remove the userdirStephan Bergmann
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe
2011-07-26Add Emacs mode lines and a few missing vim onesTor Lillqvist