Commit graph

54 commits

Author SHA1 Message Date
9e951e1eeb Global-Layer-Renaming: adapt lots of documentation 2018-11-15 21:13:52 +01:00
5564a51a79 build/platform: make lib SigC++ available for GUI test code
Explanation: sigC++ was already linked as transitive dependency
from gtkmm, since it is used for the "signal-slot" system wihin GTK.
But now we want to use sigC++ itself from our generic UI-Backbone,
so we need to pick up the additional compiler and linker flags
and use them when building the relevant parts of both the application
and the test suite
2015-12-25 03:06:33 +01:00
db1ca03220 build the valgrind-suppression similar to the testsuite
the valgrind memcheck got more and more flooded with
"possibly lost" memory blocks allocated by GLib and friends.

Linking the vgsuppression binary in the same way than the
testsuite helps us getting ahead of all that noise

Incidentally, we need to rearrange the build dependency tree
here; previously we made the testsuite depend on vgsuppression,
to ensure the latter gets recompiled prior to running tests;
now vgsuppression itself depends on all the test libraries,
so we rather need to make it direcly a prerequisite target
of running the testsuite (this approach is not precisely
correct in a logical sense, yet helps us to get it
recompiled when needed)
2015-08-16 01:17:39 +02:00
e02a9d213d enable special unit-tests to link against the gui 2014-10-18 04:27:07 +02:00
aa17106c41 link tests with stringent application scope dependencies (closes #938)
- the tests covering threadind support and object monitors
  are located in the backend test-library and linked against liblumierabackend.so
- some fundamental facilities of proc-layer moved from the library tree
  into the basic components tree, since *testing* them requires at least
  to link against liblumieracommon.so
2014-10-17 21:15:59 +02:00
4e5b1901a1 Solution for #948 : special treatment for the test-suite
Note: this changeset globally sets the linkerflag --as-needed
but adds a single, hard coded exception to this rule for
taget/test-suite
2014-09-30 04:40:24 +02:00
8defe47507 Debian/Policy 3.9.x : enforce strict dependencies on dynamic modules
The recommendation is to use the link flag --no-undefined
and to fed *all* dependencies to the respective link step.

This changeset enables this strict linking of dependencies.
It turned out that our dependencies were already sane
(with the sole exception of a direct dependency to X-Lib
in the XV viewer widget)
2013-11-03 00:07:17 +01:00
8d88ffcdff SCons: rework test definition to link according to layer
tests used to be defined ad hoc and test definitions
are scattered confusingly over various directories.
Now built some simple rules into the buildsystem
to allow organising the tests into layers and
linking them accordingly.

Note: this switches to building shared objects
for the test classes too, which effectively speeds up
both re-building and re-running of test cases
2013-01-07 02:15:05 +01:00
98717915b2 clean up top level SConstruct 2012-01-11 07:05:01 +01:00
f84da63e11 use import/export instead of passing an artefacts map 2012-01-11 07:05:00 +01:00
08d330310f cleanup unnecessary builder function and flags in SCons build 2011-12-03 05:46:36 +01:00
b2d6074097 cleanup test includes 2011-12-02 21:34:29 +01:00
b843546922 cumulated build/release fixes
up to corresponding debian/0.pre.01-3
- compile issue (digxel.hpp)
- SCons missing config dependency on test-only
- 32/64bit fixes
2011-03-31 18:43:50 +02:00
ad246ad31d Merge Buildsystem adaptations for installing Lumiera
- use custom builders
- clean up specification of target paths
- generated executable is fully relocatable
- read a bootstrap INI instead of compiled in searchpath
2011-02-05 15:54:24 +01:00
d9f90c2c04 SCons: finish reworking buildsystem to rely on custom builders.
All target paths and install targets now defined automatically,
most of the buildscript just using plain sourcefile names
2011-01-30 22:12:55 +01:00
9cb03c7015 Fix installation triggered already by build target 2011-01-30 19:43:51 +01:00
abf1bc776b SCons: remove all explicit target and install specifications
now superfluous, because our custom builder handles that automatically
2011-01-30 18:56:51 +01:00
609873d90b switch to use the new (better) builder implementation
especially this means to use the common well-known names again,
like "Program" "SharedLibrary". The customisation now happens
invisible in LumieraEnvironment.
2011-01-30 17:00:15 +01:00
014c22b40a SCons: rework build directory configuration. All customisations to LuimieraEnvironment 2011-01-30 15:27:21 +01:00
35953b335b SCons: rearrange output directory to target/modules 2011-01-29 02:06:21 +01:00
764a38abe6 SCons: experimental support for some library lookup concerns
- setting -rpath with $ORIGIN  to build a relocatable package
 - fix missing DT_SONAME (likely just a problem of very old SCons version)
2011-01-28 23:31:00 +01:00
a29591c299 SCons: several small improvements, e.g. valgrind-suppressionfile 2010-07-26 03:24:15 +02:00
002f024ed8 SCons: improve dependency handling for the testsuite 2010-06-26 05:08:16 +02:00
a6621703af SCons: improve dependency handling for the testsuite 2010-06-12 19:44:38 +02:00
86bc30a10a Merge Ubuntu/Lucid adjustments. Drop pre 1.0 compatibility 2010-05-21 03:43:09 +02:00
9f2affb41b SCons: feed test.conf to test.sh (for correct output filtering) 2010-02-15 03:25:01 +01:00
7d19d19549 SCons: integrated building vgsuppression into the test SConscript 2009-01-17 14:27:35 +01:00
83e0c44a49 (irrelevant) fixes to make the dummy/demo build work again 2009-01-15 14:48:07 +01:00
ac156231ac SCons: use new plugin building rule for the test plugins 2009-01-12 12:48:14 +01:00
0bd0cfc549 SCons: allow setting VALGRINDFLAGS from the environment 2008-12-26 23:31:00 +01:00
bd7c05b669 SCons: fix leftover from the latest directory reorganisations 2008-12-26 22:26:41 +01:00
0314885834 Yeah! all defined tests pass! (SCons build) 2008-12-18 09:59:31 +01:00
12fc97b8e2 Build most of Lumiera as shared library (SCons build) 2008-12-15 13:36:42 +01:00
57c3559f74 WIP trying to get the guistarter shared module loaded 2008-12-15 13:36:42 +01:00
628be502e5 reordered some files to use the new include and lumiera directories 2008-12-15 13:33:04 +01:00
18b750d86b SCons: set LUMIERA_PLUGIN_PATH, add option PKGLIBDIR 2008-11-07 01:54:39 +01:00
9f8b0070a6 build option for SCons (verbose) 2008-11-03 21:24:15 +01:00
a912159d70 re-enabled building of the testpluginc.so 2008-10-28 01:57:28 +01:00
850f49904e SCons: options for controling testsuite execution 2008-10-23 04:53:50 +02:00
55d592f119 adapt for the plugin-test now being in tests/backend 2008-10-16 02:07:32 +02:00
deec68422c scons: simplify how library tests are built 2008-09-07 23:43:06 +02:00
b5d2e9486e small adaptions to scons, fix a test 2008-05-20 13:04:22 +02:00
1dd9989516 some tweeks to the (scons) build system, using precompiled header 2008-01-27 02:39:13 +01:00
8473016245 add test-locking to scons build 2007-11-26 23:50:06 +01:00
526e62aa97 SCons: (re)enable locking and lib-tests 2007-09-20 03:46:14 +02:00
9f087bdc93 scons: temporarily skipped locking-test, as it doesn't compile (yet) 2007-09-12 07:27:13 +02:00
f86493e466 SCons: run tests in bindir 2007-09-02 23:57:40 +02:00
c0dcccebd9 Factory impl now complete (hopfully).
Added Tests/Examples for the more advanced use cases
* using custom allocation (e.g. C-style malloc)
* using placement new
* creating Objects via private ctor
* example for the 'PImpl' pattern
2007-08-31 20:32:26 +02:00
fee63d8f06 added C++ plugin to SCons build; added test for common/appconfig.hpp 2007-08-25 02:07:04 +02:00
aaf2ee4928 now the testsuite runs with SCons as well.. 2007-08-18 06:13:39 +02:00