summaryrefslogtreecommitdiff
path: root/smoketest
AgeCommit message (Collapse)AuthorFilesLines
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann1-4/+4
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-01-29smoketest: remove OpenOffice.org 1.0 XML format export testsMichael Stahl4-54/+1
... which fail since the export filter was disabled in aeeaccf59abbc485d7786486f1accc1cb4d4dbf7. Change-Id: I10969a96394d2972376a792af645ff48ccdab7c0
2014-01-23smoketest cant work without extensionsBjoern Michaelsen1-0/+4
Change-Id: I58af85205cce89c2eff3db24a477171ce39d47dc
2013-11-15liblibo: expose a C API for ABI reasons, and wrap with C++.Michael Meeks1-1/+1
Change-Id: I7b3bcead05788e663d94724522bfa3f227b15499
2013-11-11remove unnecessary use of OUString constructorNoel Grandin1-5/+4
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-07liblibo: use gettimeofday not clock_gettime for better portability.Michael Meeks1-10/+7
Change-Id: Ic111faf5db7709483f20fea8cbf9ff4298301b8a
2013-11-07liblibo: fix static library linkage.Michael Meeks1-1/+4
Change-Id: Ic6b69b322c819ff07d55e3b452dadafc60041e1d
2013-11-07liblibo: improve the libtest sample app.Michael Meeks1-3/+23
Add command-line help, validate arguments more, better error reporting. Change-Id: Ia092895d0d116b003bb6c2a252f68ae9b6ba6d35
2013-11-07liblibo: make liblibreoffice static as it should be.Michael Meeks1-0/+1
The whole purpose of this tiny library is to break dependencies, so requiring it in our library path is a bit silly. Change-Id: Ie0e000b97db87afd57f693e19341eadf97323335
2013-11-07liblibo: fixes and improvements for liblibreofficeChristoph Lutz1-1/+29
fixes for liblibreoffice-Impl (init.cxx): determine outputfilter from file suffix if no filter is provided; ensure that url provided to XStorable.storeToUrl is really an url; improved error handling small improvements in somektest/libtest.cxx: output times required for init, load and save. Change-Id: Ic8b2c0d34cbeae3250c43cac02690e6ec1954ed7
2013-10-31smoketest: replace usage of OUTDIRMichael Stahl1-1/+1
Change-Id: I6629fb0a5312572c5a32876b19e71312761c98f1
2013-10-25stop looking for Jar files in solverMichael Stahl1-1/+1
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-10-18Remove *_Test product, so cppunittester can be NONE againStephan Bergmann6-920/+0
...as per #libreoffice-dev IRC: Sep 19 10:32:24 <mst__> sberg, moggi why the hell is that thing named "cppunit/cppunittester" and inside a subdir? it's obstructing my attempt to put it in $(INSTDIR)/program Sep 19 10:33:28 <mst__> (... and if you wonder "wtf does it have to do with INSTDIR" you have never heard of awesome LibreOffice_Test installset.... not that i would know who needs it :) Sep 19 10:36:36 <sberg> mst__, it is in a subdir of solver/*/bin so that on Windows it would not accidentally have picked DLLs next to itself instead of the module-local DLLs it was supposed to test (back when we had module-local output trees) Sep 19 10:37:02 <mst__> sberg, ahh hysteric reasons then, /me renames it Sep 19 10:37:55 <tml> mst__, if nobody you know uses LibreOffice_Test, just kill it? Sep 19 10:38:59 <sberg> mst__, tml, LibreOffice_Test was conceived by pmladek and/or kendy, IIRC Sep 19 10:40:31 * kendy does not remember anything about it :-) Sep 19 10:42:17 <sberg> wasn't that something so users (or QA people?) could easily run the smoketest against an installation, to see whether the installation is any good at all, by installing that LibreOffice_Test alongside the installation proper? Sep 19 10:43:26 <sberg> mst__, ...and I'd unscientifically vote to kill it Sep 19 11:34:23 <pmladek> mst__, sberg: I have created the LibreOffice_Test package for one QA guy. He does not longer work on LO. I am not sure if anyone else started to use it. So, I think that it can be killed. Oct 17 18:18:07 <tml_> sberg: have you ever noticed that when you try to actually run instdir/unxmacxi/LibreOfficeDev.app , the system actually tries to run cppunittester inside the app bundle (it says so in the crash report) (it crashes because cppunittester requires a specialized DYLIB_LIBRARY_PATH apparently) Oct 17 18:19:29 <tml_> I suspect that the system when cppunittester as part of the build process is run from inside instdir (i.e. inside an app bundle) the system "caches" this false knowledge, and thinks that the executable of the app bundle is cppunittester... Oct 17 18:19:36 <sberg> tml_, no, never noticed; with "run instdir/unxmacxi/LibreOfficeDev.app" you mean calling "open instdir/unxmacxi/LibreOfficeDev.app"? (I always call .app/Contenst/MacOS/program explicitly) Oct 17 18:19:52 <tml_> yes, I mean "open instdir/..." Oct 17 18:20:53 <tml_> some googling tells me that at least years ago, the CFBundleExecutable key in the Info.plist is ignored if it is manually changed, so I guess similar caching of mapping between an app bundle and which executable to actually run happens in this case Oct 17 18:23:17 <tml_> and last year somebody even claims "And while on Mountain Lion, CFBundleExecutable seems to be a no-op", which would be odd, surely there must be widely used apps that have several executables inside the MacOS directory; how would the system know which one to run when the app is run? Oct 17 18:24:38 <tml_> hmm, apparently the code that handles this might be open source even, http://www.opensource.apple.com/source/CF/CF-744.18/CFBundle.c Oct 17 18:25:52 <tml_> some mention of "caches" there yes, my guesses might be right Oct 17 18:27:05 <tml_> if I cp -R instdir/unxmacxi/LibreOffice.app foo.app and open foo.app, it works fine Oct 17 18:28:33 <tml_> anyway, I guess it would be cleaner to have cppunittester somewhere else even without this problem Oct 17 18:37:09 <sberg> tml_, yes, IIRC having cppunittester in instdir was a misguided mst decision, because that odd LibreOffice_Test product (that pmladek said nobody needs any longer anyway) includes it; I think consensus was to kill LibreOffice_Test and move cppunittester where all the other NONE executables are, but looks like nobody executed Oct 17 18:37:55 <tml_> ah ok, so mst should know what needs to be done? good, no need for me to try to hack this now then Oct 17 18:38:19 <sberg> tml_, I'll do the cleanup tomorrow, unless somebody beats me This removes smoketest/losmoketest et al along with the *_Test product, as they seem to not make sense without it anyway. smoketest/Executable_libtest.mk appears to be a test that could also be run during the build, and only ended up in the *_Test product by accident, so I left it untouched for now. Change-Id: I8024472c909fe0a885eb08ef4d3777f8a9e1f7c8
2013-10-11do not copy testing extensions to instdirDavid Tardon1-1/+1
Change-Id: Ibd2f18a8998b3e182d8d5b8af9c9f74a8ac00744
2013-09-23Try to fix cross-compilationTor Lillqvist2-3/+3
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: refactor LinkTarget representationMichael Stahl1-2/+2
If the link targets are not in workdir then 2 different aspects are needed: the previously used location relative to workdir's LinkTarget dir (for all the misc. related targets), and the full target file. Adding an additional parameter to all LinkTarget functions would be quite annoying, especially since it would need passing through all the gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode both into the linktarget itself, and modify the functions gb_LinkTarget_get_target to return the target and all others to return the workdir linktargetname. - replace gb_Library_get_linktargetname with either: * gb_Library__get_workdir_linktargetname * gb_Library__get_linktarget_target * gb_Library_get_linktarget - similar for gb_Executable_get_linktargetname - similar for gb_StaticLibrary_get_linktargetname - similar for gb_CppunitTest__get_linktargetname - add calls to gb_LinkTarget__get_workdir_linktargetname where needed Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-08-30ENABLE_MACOSX_SANDBOX Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud2-2/+2
Change-Id: Ice05796a9887c4ff311b78fcddd9820e0f06e7f1 Reviewed-on: https://gerrit.libreoffice.org/5708 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist2-3/+3
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Actually the smoketest does not work for a sandboxed soffice on OS XTor Lillqvist1-0/+2
We can't create and bind Unix domain sockets, it seems, so bypass this for now. Change-Id: I85b84099f2d8afe860e0bc866e3ced3cb922ca63
2013-08-18Use a proper folder as "user installation" when sandboxedTor Lillqvist1-1/+7
A sandboxed soffice process (runnin smoketest) has no access to workdir. Change-Id: I62ef94282df37ea710735f1305c1d95dd2b0a304
2013-07-29liblo - add ability to select filter / format for saveas.Michael Meeks1-2/+5
Change-Id: I866c6cb836407019973559051c854d24f9549d2a
2013-07-26more liblibreoffice pieces.Michael Meeks1-1/+22
Change-Id: I21d67de281847321d784cddc652d4a51a437fadf
2013-07-12allow to run smoketest in arbitrary installationDavid Tardon1-7/+1
Just set OOO_TEST_SOFFICE=path:/path/to/installation/program/soffice . Change-Id: Ic772a56328253f608a62a21923a74198fa29a136
2013-06-07smoketest: unbreak after recent Extension changesMichael Stahl3-4/+9
(regression from a714cf18b1c6cadae93df92376a11aeb98b65418) Change-Id: Iaf772aa1960bad1ed6b317245867f17a88f6ccd7
2013-05-07Exempt smoketest.jar from "non-cross-compiling only"Stephan Bergmann1-1/+6
...just like it was implicitly exempted while it was still part of juh.jar. (The true fix should be to remove this smoketest-support code from general installation sets, but that is left as an exercise for another day.) Change-Id: Ia8bb07795facef5f344e3e53c3901f229725d1af
2013-05-07Extract SmoketestCommandEnvironment.java from juh.jarStephan Bergmann7-1/+253
...into a new smoketest.jar, so that URE juh.jar no longer depends on non-URE unoil.jar. Change-Id: I8937c78d8af6e2f82ada5dd80c322f8bca5ec2f5
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks8-174/+33
2013-04-26Towards a Mac OS X PythonTestStephan Bergmann2-9/+4
Use URE_BOOTSTRAP instead of listing ~its content individually. [DY]LD_LIBRARY_PATH needs to be set to all of installdir's ure and program as well as OUTDIR, as initPoniesMode (pyuno/source/module/pyuno_module.cxx) tries to load the OUTDIR test library. Abstracted as gb_PythonTest_PRECOMMAND. Abstracted Mac's special LibreOffice.app/Content path as gb_DEVINSTALLROOT, adapted a number of places accordingly. Change-Id: I1646615c77dfab342675f84dbb83c579bf16058d
2013-04-24Fix losmoketest UNO_TYPESStephan Bergmann1-1/+1
...and remove a bunch of unused Directories Change-Id: Ibb20bf9f4049eee136132b4ebda86ec2a9613a29
2013-04-22Adapt smoketest to new TestExtension.oxt description.xmlStephan Bergmann2-2/+2
Change-Id: Ie618a9dc4551aa580e6f764e20812da234b6239e
2013-04-21gbuild: use Package for delivering smoketestdoc.sxwDavid Tardon3-10/+15
Change-Id: I056a9457aee725e1c8f992ee2553e79f536920ee
2013-04-21gbuild: use ExtensionDavid Tardon5-49/+41
Change-Id: Ibbcf0ea1744090e0108faf2a617a96177e934aec
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-9/+9
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-01Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelperChr. Rossmanith1-2/+1
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-7/+5
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-12liblibo: install test library by itself and install it.Michael Meeks4-85/+73
Also fix debugging with threads, find fundamentalrc correctly, make it headless, finally loads a document then exits. Change-Id: I2017075bf3b3c7198bde53b9fe85585089e5ab6c
2013-03-12liblibo: test documentLoad methodJack Leigh2-0/+7
Change-Id: I7827a9b96e5a18b7f0b8b374a49ab96625d22d0a
2013-03-12liblibo: better init code.Michael Meeks2-16/+7
Change-Id: I8757739960cb1c764a5a66bd67d34731e3dfbf31
2013-03-12liblibo: move to C++ interface.Jack Leigh1-2/+4
Change-Id: Ie14a9446abd9524604feddf811d5373a26a30cbd
2013-03-12liblibo: create initial liblibreoffice.Michael Meeks3-0/+103
bootstrap libreoffice, start a dummy test-harness: can't use CppUnit or link to any URE / LibreOffice libraries. Change-Id: I855b640557f93959749e966a2d8e5e577fd84574
2013-03-03do not copy files around needlesslyDavid Tardon13-20/+17
Change-Id: I681500bb01e13155b355c8a45b41f73e8b9faf26
2013-03-03make sure the outdir exists before it is usedDavid Tardon1-1/+1
Change-Id: I4b23256f84110e99a81631330dd5b8009141ece6
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl2-1/+6
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-10/+6
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-2/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-16Revert "WaE: unused parameter 'argc' and 'argv'"Tor Lillqvist1-3/+0
Nah, just don't bother using --enable-werror with an old system cppunit that has the unused argc and argv in CPPUNIT_PLUGIN_IMPLEMENT(). This reverts commit 7e6689e3ed8972871718f6f8d06968efde264612. This reverts commit 07b6dc8610785026860f6dfcf6aab1c4ad1f45f2.
2012-11-15WaE: unused parameter 'argc' and 'argv'Tor Lillqvist1-0/+3
Change-Id: Idb3c4e4be025b78288fb6c705181d7f7a88c2c9f
2012-11-14Clean up removal of binfilter tests from smoketestStephan Bergmann4-76/+9
Change-Id: Ide1d0b6c5cab56d5c383853d349d70b21401a533