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
f0aed2c2cc
fix dummy compilation/tests
2010-05-21 03:50:41 +02:00
86bc30a10a
Merge Ubuntu/Lucid adjustments. Drop pre 1.0 compatibility
2010-05-21 03:43:09 +02:00
Christian Thaeter
9d99300841
FIX : #619 , New Nobug required! version 201005.1
...
add the 'extra' argument to mpool dumps.
Solves Linking problems on some distros.
2010-05-12 00:46:39 +02:00
030320352d
Bugfix test.sh: detecting literally defined output
2010-04-16 02:23:25 +02:00
9f2affb41b
SCons: feed test.conf to test.sh (for correct output filtering)
2010-02-15 03:25:01 +01:00
5b9aa5deb2
landing the new threadpool implementation
2010-02-15 00:48:52 +01:00
1c63a02e23
augment and round up the C++ thread wrapper
2010-02-14 23:39:15 +01:00
90d311dc1d
Error integration: error::Flag as subclass of State. Wrapped throw
2010-02-13 20:56:41 +01:00
dc991ca563
valgrind suppression: add some more cases to be filtered
2010-02-13 06:00:38 +01:00
Michael Ploujnikov
433448ff44
use _join() instead of a second _sync() to wait for the worker to finish
2010-02-12 07:20:32 -05:00
b556343fb6
re-enable typed-counter-test; passing just fine again
2010-02-12 01:54:12 +01:00
dfd70c6069
replace GThreads by the Lumiera thread wrapper
2010-02-11 03:06:42 +01:00
Michael Ploujnikov
d80ae17ea4
test simple-sync: avoid a race condition in output checking by using an assert
2010-02-10 20:53:44 -05:00
Michael Ploujnikov
62b70bfd7e
test sync-joinable: use asserts instead of checking the program output
2010-02-10 20:53:32 -05:00
Michael Ploujnikov
5d929f1522
test sync-many: replace output checking with asserts
...
Also modify the input value right after passing to a worker thread. This is a better test of synchronization.
2010-02-10 20:53:13 -05:00
Christian Thaeter
26f88bc3f1
Merge remote branch 'plouj/second-tp-attempt' into backend_devel
...
* plouj/second-tp-attempt:
basic joinable thread test
joinable thread sync test
2010-02-08 18:20:05 +01:00
5386fe6fbc
clarify (and treat) the race; considered to be test-only
...
After removing the explicit locking, there is a small
race in case of a "floundering" (simulated) subsystem:
the starting context may go away before the child thread
actually teminates. I consider this a shortcoming of
this test fixture, which isn't intended to be an example
of a real world subsystem, but rather focusses on
error detection within the subsystem runner.
2010-02-07 17:31:28 +01:00
8ad3bf1736
Change subsystem-runner test to remove explicit locking entirely
2010-02-07 02:56:30 +01:00
Christian Thaeter
33a0591689
Make resourcecollector initialization explicit
...
instead automatic initialization, the resourcecollector is pulled up as
backend service.
2010-02-05 09:20:52 +01:00
Christian Thaeter
d350a250fa
Move the resourcecollector to the backend, closes #521
2010-02-05 08:58:19 +01:00
Michael Ploujnikov
c64984b859
Merge remote branch 'ct/backend_devel' into second-tp-attempt
2010-02-04 22:48:03 -05:00
Christian Thaeter
53a747dcca
add little more cleanups to mmap.tests
2010-02-04 22:30:46 +01:00
c406d16fbc
threadwrapper-test should have been better written this way...
2010-02-04 18:48:47 +01:00
Christian Thaeter
cdd8136524
uppercase the 'TESTS' nobug flag for the testsuite, fix tests
...
this flag is little special and can be confused with runtime flags
2010-02-04 09:47:29 +01:00
Michael Ploujnikov
48829bc9ad
basic joinable thread test
2010-02-03 17:06:27 -05:00
Michael Ploujnikov
bd6ed5aa88
joinable thread sync test
...
Right now causes 32bytes to be lost
2010-02-03 08:02:41 -05:00
Christian Thaeter
711af29605
Merge remote branch 'plouj/second-tp-attempt' into backend_devel
...
* plouj/second-tp-attempt:
added two sync tests
show the state name string
it is more proper to use cond_sync flags for *CONDITION_SECTIONs
add a threads/threadpool NOBUG flag hierarchy
replace an old test with a compile-only one which spawns way too many threads
increase the delay in threads to 10ms
wrap prime test in usleep() to make the thread likely to be re-scheduled
2010-02-03 10:51:03 +01:00
Christian Thaeter
7ef1bab914
premature fix for the threadwrapper test
...
Added some more fuzz and sleeping to the test calculation to have a actual
chance to fail when something is not well locked.
Using a premature classlock, locking instances was insufficient.
2010-02-03 10:45:58 +01:00
Christian Thaeter
01839d4e48
update for nobug-201002.1
2010-02-03 10:38:12 +01:00
Michael Ploujnikov
73f1bbae2a
added two sync tests
...
one with a single thread and one with 100 randomly sleeping ones
2010-02-02 20:44:35 -05:00
Michael Ploujnikov
8588fa2b9c
it is more proper to use cond_sync flags for *CONDITION_SECTIONs
2010-02-01 07:25:49 -05:00
Michael Ploujnikov
b799321dff
add a threads/threadpool NOBUG flag hierarchy
...
and remove redundant/errorneous flag initializations as a result
also use the test flag from logging.h
2010-02-01 07:25:06 -05:00
Michael Ploujnikov
c57c02ea45
replace an old test with a compile-only one which spawns way too many threads
2010-01-31 20:05:05 -05:00
Michael Ploujnikov
79f8481f99
increase the delay in threads to 10ms
2010-01-31 19:46:48 -05:00
Michael Ploujnikov
64ab9f6bf7
wrap prime test in usleep() to make the thread likely to be re-scheduled
2010-01-31 13:33:47 -05:00
Christian Thaeter
2b74d82f13
remove threadpool initialization, this is done elsewhere now
...
Subsystem runner/-test is still broken, sometimes segfaults
2010-01-30 07:37:32 +01:00
Christian Thaeter
e4e87e8cdd
log error while setting it
2010-01-30 07:20:09 +01:00
Michael Ploujnikov
6aacf490a3
add a comile-only test with threads sleeping for random intervals
2010-01-29 22:42:28 -05:00
Michael Ploujnikov
362069ea53
make the process-function test run really quickly
2010-01-29 22:42:28 -05:00
Michael Ploujnikov
f69006aa54
test spawning a bunch of short sleeping threads
2010-01-29 22:42:20 -05:00
Michael Ploujnikov
b87db7eb8f
re-add a test message that I forgot
2010-01-29 22:01:48 -05:00
Michael Ploujnikov
9d7f6a1fce
don't test the kind anymore (too simple)
...
Conflicts:
tests/30backend-threadpool.tests
2010-01-29 21:52:12 -05:00