Commit graph

74 commits

Author SHA1 Message Date
Ralf Habacker
4d8dcd5561 Cmake build system cleanup.
Converted tabs to spaces and removed trailing spaces in test dir.
2010-04-11 11:53:56 +02:00
Ralf Habacker
0ed7d779b7 Cmake support for cross plattform usable test files.
Recent test configuration files contains 'unix:...'
bus adresses which do not work on windows.
For cross plattform usable test files the whole
listen tag entry has to be set by the build system,
which is available with a new build system variable
named TEST_LISTEN.
To have the client client side definition in sync,
TEST_CONNECTION has been moved from c file into cmake
build system.
2010-04-11 11:49:46 +02:00
Ralf Habacker
19251c52de Simplified cmake specific test file generating.
If there is a *.cmake test file available for
a related *.in file, take the *.cmake test file
instead of the *.in file as test file source.
Also added some messages.
2010-04-09 23:07:11 +02:00
Ralf Habacker
1d0076b500 Keep cmake build system in sync with commit d47154c28b. 2010-03-22 22:33:02 +01:00
unknown
2154acb349 Make the windows binaries and build match the linux one with cmake buildsystem.
This is performed by including the files from the client lib in the internal one
and by removing the linking to dbus-1 for targets using the internal library.
2010-03-22 10:41:06 +01:00
Ralf Habacker
d999abdaa8 CMake dbus libraries usage cleanup.
Renamed DBUS_LIBRARIES to DBUS_INTERNAL_LIBRARIES and moved to top level CMakeLists.txt.
Removed obsolate references of dbus-internal library.
Added DBUS_LIBRARIES definition which contains only the dbus library.
2010-03-20 22:33:58 +01:00
Ralf Habacker
76919f681c fixed bus-test sha1 connection address on unix with cmake build system 2010-03-08 15:56:56 +01:00
Romain Pokrzywka
b0e0cd03e8 commented bits cleanup 2010-02-07 00:32:44 +01:00
Romain Pokrzywka
bbd1c9fe82 now fix the build for the tests; turns out we need another set of exports, since some tests are compiled in the client lib and some are in the internal lib... 2010-02-07 00:32:39 +01:00
Ralf Habacker
4a24e84aa7 readded test files required for windows 2009-12-01 10:53:53 +01:00
Frank Osterfeld
08f8057d1f do not run test binaries as unit tests if they aren't unit tests (cherry picked from commit 5281f5b113bd97152d1c9eac050432bda3274748) 2009-11-30 13:43:18 +01:00
Frank Osterfeld
fa2a53309d fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
Frank Osterfeld
9f36b6760c fix TEST_SOCKET_DIR on windows, do not override value from top-level in test/ (cherry picked from commit fde144333281348cda2d533331946996d7a09bff) 2009-11-30 11:39:23 +01:00
Frank Osterfeld
c89d506700 bus-test-launch-helper is a unit test, test-service and test-shell-service are not. Rename test-shell to shell-test to match autotools (cherry picked from commit b106387b73d6a300a013a15f6507244e82f007ed) 2009-11-30 11:39:21 +01:00
Frank Osterfeld
a4e65790ea Use correct sources to build test-shell-service, fixes a hang in bus-test (cherry picked from commit 0afe04db5152b57582863bef83a55d78020a79c6) 2009-11-30 11:39:21 +01:00
Ralf Habacker
ed1c2fdd82 removed obsolate files 2009-11-30 11:28:37 +01:00
Frank Osterfeld
dbde622530 cleanup: these files are already generated elsewhere (cherry picked from commit 21f66df24affd4a4d2fb3324fb51899c811530da) 2009-11-30 11:26:13 +01:00
Frank Osterfeld
3baa9550f0 rename test-spawn to spawn-test, to match autotools. test-sleep-forever is not a stand-alone test but called from other tests (cherry picked from commit 41bf95167cfc17b564594eab0a1901e46eaab5fe) 2009-11-30 11:09:27 +01:00
Frank Osterfeld
b0efb6d156 fix test and binary names (cherry picked from commit 18bcf5f2d474456c57cd94da234005a23e2589a7) 2009-11-30 11:09:26 +01:00
Frank Osterfeld
aae3becbf3 rename second test-names to test-names2 to avoid confusion (cherry picked from commit c83a2d79bb215b19b02987c9a45ed1bf07e5eeaf) 2009-11-30 11:09:26 +01:00
Frank Osterfeld
a7330a9673 generate all config files from the .in files. Set some of the required variables replaced in the .in files by configure_file (cherry picked from commit 4980ffa1093877af182e032a13f6162df57be09f) 2009-11-30 11:09:23 +01:00
Christian Ehrlicher
4668480458 merge changes done to the cmake-buildsystem from the sf.net windbus-svn trunk. tested and works fine with at least msvc2008. (cherry picked from commit 45c168fd61e3f6447e014df4bb6417efbe725ccd) 2009-11-30 10:32:04 +01:00
Ralf Habacker
17b84104f2 * cmake/: don't install test applications and service files, moved CMAKE_DEBUG_POSTFIX to top level CMakeLists.txt 2007-04-28 19:37:25 +00:00
Ralf Habacker
36ebfd411b * cmake: new directory, contains cmake build support.
See http://www.cmake.org for more informations.
Currently only unix will be buildable because some
win32 required files are still missing.
2007-03-03 14:32:17 +00:00