libreoffice-online/test
Miklos Vajna d0db456dc3 test: avoid ODR violation in UnitCopyPaste
As far as I understand, it is not necessary to link symbols of the wsd
process into unit-copy-paste.so, since we link it with the -module
libtool flag and then load it using dlopen, see
<https://www.gnu.org/software/libtool/manual/html_node/Building-modules.html#Building-modules>.

It seems this is the only test that links ${test_base_source}.

This fixes the following ODR violation:

==18174==ERROR: AddressSanitizer: odr-violation (0x000002090b20):
  [1] size=40 'SigHandlerTrap' ../common/SigUtil.cpp:76:12
  [2] size=40 'SigHandlerTrap' common/SigUtil.cpp:76:12
These globals were registered at these points:
  [1]:
    #0 0x5f9a68 in __asan_register_globals.part.13 /home/vmiklos/git/libreoffice/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/asan_globals.cc:365
    #1 0x7f60335f1e4b in asan.module_ctor (/home/vmiklos/git/libreoffice/online-san/test/../test/.libs/unit-copy-paste.so+0x60ae4b)

  [2]:
    #0 0x5f9a68 in __asan_register_globals.part.13 /home/vmiklos/git/libreoffice/lode/packages/llvm-472c6ef8b0f53061b049039f9775ab127beafbe4.src/compiler-rt/lib/asan/asan_globals.cc:365
    #1 0xe2bd5e in asan.module_ctor (/home/vmiklos/git/libreoffice/online-san/loolwsd+0xe2bd5e)

Change-Id: Ic990a1885777e198e59cbc85156c7e5231bac524
2019-08-14 09:05:23 +02:00
..
data wsd: introduce "TemplateSource" WOPI property 2019-07-24 12:10:15 +02:00
.gitignore Revert "Get rid of use of GNU libtool" and its follow-up 2019-05-27 10:25:51 +03:00
countloolkits.hpp Improve pid collection and printout for tests. 2019-05-03 13:52:15 +01:00
DeltaTests.cpp Delta test: avoid dumping out useless data 2018-10-19 18:15:22 +02:00
fakesockettest.cpp fakesockettest: respect CPPUNIT_TEST_NAME 2019-08-02 09:57:20 +02:00
helpers.hpp tests for chunked transfer encoding parser. 2019-05-22 11:07:42 +01:00
httpcrashtest.cpp Disable HTTPCrashTest::testBarren() for now 2019-05-21 09:10:40 +02:00
httpwserror.cpp
httpwstest.cpp Fix failing HTTPWSTest::testInactiveClient() 2019-08-02 09:35:20 +02:00
integration-http-server.cpp typo: capabilties -> capabilities 2018-11-30 14:50:15 +01:00
Makefile.am test: avoid ODR violation in UnitCopyPaste 2019-08-14 09:05:23 +02:00
run_unit.sh.in Revert "Get rid of use of GNU libtool" and its follow-up 2019-05-27 10:25:51 +03:00
test.cpp test: use process groups as well to allow concurrent make checks. 2019-05-14 21:29:12 +01:00
test.hpp
TileCacheTests.cpp Update unit test data for recent master. 2019-05-03 14:04:57 +01:00
TileQueueTests.cpp MessageQueueBase: make members private 2018-11-16 09:06:17 +01:00
UnitAdmin.cpp test: use the more effective overload accepting a character for find_last_of() 2019-01-23 09:06:04 +01:00
UnitClient.cpp
UnitConvert.cpp clipboard: test for set-clipboard endpoint (disabled). 2019-08-05 21:18:36 -04:00
UnitCopyPaste.cpp clipboard: persist selections for a while after a view closes. 2019-08-05 22:21:54 -04:00
UnitFuzz.cpp UnitFuzz: avoid manual std::move() 2018-12-18 09:14:43 +01:00
UnitHTTP.cpp keep the project buildable with poco 1.7.8 2019-07-08 21:05:46 +02:00
UnitOAuth.cpp WopiTestServer: make members private 2018-12-13 08:49:09 +01:00
UnitOOB.cpp
UnitPrefork.cpp
UnitStorage.cpp
UnitTileCache.cpp TileCache: re-factor API to work in terms of vectors, not file references. 2019-02-14 21:46:39 +01:00
UnitTimeout.cpp Remove unused 'Timestamp' using decl 2019-01-22 09:19:39 +01:00
UnitTyping.cpp test: use reserve() before calling emplace_back() in a loop 2019-05-31 08:34:48 +02:00
UnitWOPI.cpp WopiTestServer: make members private 2018-12-13 08:49:09 +01:00
UnitWOPIDocumentConflict.cpp UnitWOPIDocumentConflict: no c_str() when it'll be converted back to std::string 2018-12-14 09:07:22 +01:00
UnitWOPILoadEncoded.cpp test: fix build in UnitWOPILoadEncoded 2019-05-24 09:09:08 +02:00
UnitWopiOwnertermination.cpp WopiTestServer: make members private 2018-12-13 08:49:09 +01:00
UnitWOPIRenameFile.cpp Fix build. 2019-05-14 10:11:21 +02:00
UnitWOPISaveAs.cpp fix: saveAs breaks when '%' character is used within the filename 2019-03-19 18:31:15 +01:00
UnitWOPITemplate.cpp Fix build. 2019-07-25 07:58:19 +02:00
UnitWOPIVersionRestore.cpp WopiTestServer: make members private 2018-12-13 08:49:09 +01:00
WhiteBoxTests.cpp wsd: introduce "TemplateSource" WOPI property 2019-07-24 12:10:15 +02:00
WopiTestServer.hpp test: avoid UB in unit-wopi 2019-08-07 09:11:09 +02:00