Commit graph

200 commits

Author SHA1 Message Date
Stephan Bergmann
b2f6fbeafc install-gdb-printers for --disable-linkoo 2011-12-09 23:37:05 +01:00
Petr Mladek
57578c1828 split smoketest module to fix build
+ move the library and other build stuff to a new "smoketest" module
+ keep "smoketestoo_native" only for installing and running the tests
+ restore the targets in top level make
2011-12-02 18:35:40 +01:00
Jan Holesovsky
5d5df8c661 Fix build on Windows. 2011-12-02 10:35:16 +01:00
Petr Mladek
8c478c9110 create installation set for tests
+ it currently includes just the smoketest and is available only for Linux

+ the side effect is that it builds the smoketest before instsetoo_native
+ it runs it only during dev-install when the variable RUN_SMOKETEST == YES
2011-12-01 21:16:47 +01:00
Jan Holesovsky
c66b52b0b2 Don't run smoketest when cross-compiling. 2011-11-28 22:45:13 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Stephan Bergmann
0e6f04001c Fixed dmake depend=x. 2011-11-17 08:16:38 +01:00
Caolán McNamara
edf50b4d4f binfilter test needs to have SOLARSRC set to find sample docs 2011-11-04 09:42:22 +00:00
Bjoern Michaelsen
0bcda87664 fix smoketest linkage 2011-11-01 20:24:57 -04:00
Takeshi Abe
fc8a310eef fixed typo 2011-10-21 11:11:09 +09:00
Stephan Bergmann
fc98a97135 Introduced --disable-linkoo. 2011-10-20 23:04:12 +02:00
Petr Mladek
4255c2663d losmoketest.py: allow to use the long --headless option; not only -s 2011-10-19 17:54:09 +02:00
Petr Mladek
c55b2dccee losmoketest.py: fix to work with LO-3.5 daily build and improved
+ use the version 3.5 instead of 3.4
+ use /opt/lo-dev instead of /opt/libreoffice3.4
+ new options:
    + -d/--download just download the last build
    + -s/--headless use the headless mode when running the smoke test
    + -l/--loop do download/install/smoketest in a loop; do it jsut once
      by default
+ uninstall the old version when -i/--install option is used
+ mention PASSED/FAILED in the test log
+ restore compat symlinks to prebuilt binaries when they do not exits
+ complain when build.cfg is missing
2011-10-18 15:01:32 +02:00
Bernhard M. Wiedemann
45afb66358 losmoketest.py: add pattern to download x86_64 rpms from master 2011-10-17 16:43:40 +02:00
Petr Mladek
4c4d12b473 allow to execute losmoketest.py directly
add exectuable rights; add #!/usr/bin/env python
2011-10-17 16:43:40 +02:00
Markus Mohrhard
520c17a990 adapt make dev-install to unotest changes 2011-09-28 23:09:18 +02:00
Jan Holesovsky
a953cae319 One step closer to a functional 'make dev-install' with MinGW. 2011-09-26 17:46:05 +02:00
Stephan Bergmann
c09b966f94 In smoketest.cxx, also wait for connection_ going stale while waiting for result.condition. 2011-09-26 17:24:52 +02:00
Michael Meeks
cf16ef6c25 add a 30 second timeout to failure if we get no response in this time 2011-09-24 11:40:10 +01:00
Stephan Bergmann
7d1bb036e1 Simplified setting headless mode for smoke-/subsequenttetss.
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-16 10:38:06 +02:00
Stephan Bergmann
ee02d6eb26 Added more detailed information to smoketest failure result string. 2011-09-15 20:50:18 +02:00
Stephan Bergmann
c046147142 Folded smoketestdoc back into smoketestoo_native; no need to have it separated. 2011-09-14 16:13:13 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Stephan Bergmann
30ad5e9d87 sb140: #i117694# some CppUnit related cleanup 2011-09-12 22:47:48 +02:00
Yifan J
53e29896af remove extracting dirs before testing 2011-08-19 12:27:38 +08:00
Yifan J
c7a66783de initial upload losmoketest 2011-08-11 09:58:30 +08:00
Bjoern Michaelsen
0993f5d41b use links in smoketest install too 2011-05-23 16:01:04 +02:00
Caolán McNamara
3721dd9318 remove ADAPT_EXT_STL 2011-04-05 11:47:33 +01:00
Francisco Saito
3797ed727e drop bogus executable flag from idl/build/src and config files 2011-03-29 21:47:37 +01:00
Francisco Saito
1758913402 drop bogus executable flag from [ch]xx/bas/asm files 2011-03-29 21:41:02 +01:00
Jan Holesovsky
f2574337db Merge commit 'ooo/DEV300_m103'
Conflicts:
	smoketestdoc/com/sun/star/comp/smoketest/makefile.mk
	smoketestdoc/data/Global.xml
	smoketestdoc/data/OptionsDlg.xml
	smoketestdoc/data/Test_10er.xml
	smoketestoo_native/data/content.xml
	smoketestoo_native/makefile.mk
2011-03-23 16:59:41 +01:00
Caolán McNamara
a3e3f719ef make smoketest work again 2011-03-21 11:34:01 +00:00
Caolán McNamara
50618790d4 get .sdw suffixes etc back 2011-03-21 11:23:35 +00:00
Caolán McNamara
caa7ea13e4 fix smoketest options dialog post-merge 2011-03-21 11:23:04 +00:00
obo
abe28ebe39 CWS-TOOLING: integrate CWS debuglevels 2011-03-16 08:29:30 +01:00
Michael Meeks
8c59580b88 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
Conflicts:
	smoketestoo_native/data/Global.xml
	smoketestoo_native/data/OptionsDlg.xml
	smoketestoo_native/data/Test_10er.xml
	smoketestoo_native/data/content.xml
	smoketestoo_native/smoketest.cxx
	test/source/cpp/getargument.cxx
	test/source/cpp/officeconnection.cxx
	testautomation/framework/optional/includes/basic_vba-compat_security_check.inc
	testautomation/framework/optional/includes/filedlg_cjk_folders.inc
	testautomation/global/sid/all.sid
	testautomation/global/sid/bars.sid
	testautomation/global/sid/e_all.sid
	testautomation/global/win/bars.win
	testautomation/graphics/optional/includes/impress/i_slideshow2.inc
	testautomation/graphics/optional/includes/impress/i_slideshow3.inc
	testtools/source/bridgetest/bridgetest.cxx
	testtools/source/bridgetest/constructors.cxx
	testtools/source/bridgetest/makefile.mk
	testtools/source/bridgetest/testComponent.component
2011-03-11 11:35:29 +00:00
Frank Schoenheit [fs]
e4aa690252 debuglevels: open the smoketest doc read-only 2011-03-03 10:42:58 +01:00
sb
e2cb37ffec debuglevels: #i117073# added cppunittester --protector support; added unoexceptionprotector and use it in installationtest.mk; reverted changes to smoketest.cxx obsoleted by these additions 2011-02-25 11:32:55 +01:00
Frank Schoenheit [fs]
123c60ed46 debuglevels: let smoketestoo_native use a dedicated version of dbgsvrc/DBGSV_INIT, instead of using the default which the build env points to - it might direct assertion output to whereever ... 2011-02-21 10:32:07 +01:00
Frank Schoenheit [fs]
e648dff456 debuglevels: explicit failure upon catching an UNO exception (which gives a slightly better idea of the failure than what cppunit emits by default) 2011-02-16 10:23:55 +01:00
Frank Schoenheit [fs]
1275251797 debuglevels: bin, not binPROEXT 2011-02-13 20:15:05 +01:00
Frank Schoenheit [fs]
ad36c8bb35 debuglevels: outsourced creation of the smoketest doc into an own module, so it can be used outside smoketesoo_native, too 2011-02-11 11:08:08 +01:00
Fridrich Štrba
f918d8477b Trying to remove the stlport mention from the code 2011-02-09 16:20:26 +01:00
Fridrich Štrba
de8f4610a8 Removing the ext_std masterpiece 2011-02-09 10:51:07 +01:00
Frank Schoenheit [fs]
77acab01ad debuglevels: removed the dead code and UI for binary file formats - no tests existed for this 2011-02-08 12:59:01 +01:00
Frank Schoenheit [fs]
d452684278 debuglevels: make dialog somewhat more usable 2011-02-08 12:59:01 +01:00
Frank Schoenheit [fs]
2af2e7681a debuglevels: also log errors during the test's glue code (well, assertions, at least) 2011-02-08 12:59:01 +01:00
Frank Schoenheit [fs]
2b35c388bb debuglevels: make the current test case a global variable, so the AssertionHandler can use it 2011-02-08 12:59:01 +01:00
Frank Schoenheit [fs]
325b08b894 debuglevels: capture assertions during the test run, let the test fail in case we encounter an assertion.
Still missing: Refactor the tests so that the currently running test case ("open doc", "save doc", etc.)
is known in the assertion handler, so we can mark the proper test case as "failed". Currently, the "new doc"
case is marked, which is wrong.
2011-02-08 12:59:00 +01:00
Frank Schoenheit [fs]
50d0937a70 debuglevels: some cleanup of the smoketest code, in preparation of #i116845# 2011-02-08 12:58:37 +01:00