Christian Thaeter
33c8e79ccb
ran luidgen on test-interfaces.c
2008-10-27 05:09:19 +01:00
Christian Thaeter
1886f41bf5
WIP: testsuite for interfaces
2008-10-27 05:08:53 +01:00
Christian Thaeter
41ec9edd6f
fix tests to adhere with the new interface descriptor
2008-10-27 05:08:53 +01:00
850f49904e
SCons: options for controling testsuite execution
2008-10-23 04:53:50 +02:00
6e12b74d9e
rename the proc-layer tests to comply with the numbering scheme
2008-10-23 04:02:12 +02:00
Christian Thaeter
a95a40613c
Fix: oops some more liblumi to liblumiera renames
2008-10-21 06:48:59 +02:00
Christian Thaeter
f75af1dec3
liblumiprocmobjectcontroller.a is not needed anymore in tests
2008-10-18 18:03:35 +02:00
55d592f119
adapt for the plugin-test now being in tests/backend
2008-10-16 02:07:32 +02:00
d64d822690
merge from backend (plugin loader)
...
Merge commit 'lumi/master' into proc
2008-10-16 00:35:57 +02:00
Christian Thaeter
26c212b292
make the old plugin stuff barely compileable, disable tests, fix later
2008-10-15 22:18:17 +02:00
Christian Thaeter
f7fa5769ca
Start of a 'wordlist' type for the config subsystem
...
wordlists are simple not quoted words delimited by semicolon, tab, space or
commas. Some special functions will allow to access each of this words by
index etc.
2008-10-15 17:19:53 +02:00
Christian Thaeter
29f5a0f2ab
moved the remaining interface stuff from lib to backend
2008-10-15 16:05:17 +02:00
Christian Thaeter
ee7719eada
tests and a first definition of a interface descriptor
2008-10-15 16:05:17 +02:00
Christian Thaeter
0342e19c12
move the interfaces test to backend, because its going to be stateful
2008-10-15 16:04:32 +02:00
Christian Thaeter
caa5bd10a0
interface update
...
* remove the data member from the interface structure
* add a psplay node used in a upcoming interface registry
* add a INLINE function mapper
2008-10-15 16:01:08 +02:00
Christian Thaeter
feb9ba7db9
provide some example code for the 'interface' system
...
* test-interfaces.c is just a mockup to show how interfaces are created
* fix some bugs introduced with a futile refactoring try at the last commit
2008-10-15 16:01:08 +02:00
Christian Thaeter
2ae274ea51
add wordlist_add function to add a word to a wordlist
2008-10-15 16:01:08 +02:00
Christian Thaeter
2041efe5b6
more on config_wordlist
...
* universal replace function
* tests
* missing declarations
2008-10-15 16:01:07 +02:00
Christian Thaeter
7d748a39a7
add a test for value resetting (I wasn't sure it works, but it does)
2008-10-15 16:01:07 +02:00
Christian Thaeter
3f273bb0b1
move the configitem tests to the lowlevel suite
2008-10-15 16:01:07 +02:00
Christian Thaeter
f754e1521f
Start of a 'wordlist' type for the config subsystem
...
wordlists are simple not quoted words delimited by semicolon, tab, space or
commas. Some special functions will allow to access each of this words by
index etc.
2008-10-15 16:01:06 +02:00
Christian Thaeter
ed246ab222
Adding recursive mutexes, fix chained mutex to take only one parameter
...
Recursive mutex can be locked multiple times by a single thread they
are initialitzed by lumiera_recmutex_init() and used by LUMIERA_RECMUTEX_*
macros.
Chained mutex use the mutexacquirer from the outer scope now. Maybe its
later needed to pass acquirers explicit, we will see.
2008-10-15 15:49:35 +02:00
Nicholas Sinnott-Armstrong
7d86367909
Added preliminary support for chained mutex calls.
2008-10-15 15:49:35 +02:00
Christian Thaeter
14a9e95492
moved plugin code from lib to backend
...
Plugin management will become stateful. This qualifies it to become a
backend subsystem.
2008-10-15 15:49:34 +02:00
8834e4e306
merge current gui work
...
Merge branch 'master' into proc
2008-10-11 03:04:48 +02:00
1bce7d4c38
define the next steps by test
2008-10-06 07:26:43 +02:00
feb64fac01
outline: use of the raw type info for fetching a ImplFacade
2008-09-26 04:57:20 +02:00
47a416bba3
*Hey* first time to use a GAVL video frame type...
2008-09-25 21:48:43 +02:00
8109badf49
outline a test covering the stream type registration lifecycle
2008-09-24 06:37:42 +02:00
83b574bdea
stream type registry lifecycle
2008-09-24 05:46:26 +02:00
14023d3024
interface brainstorming
2008-09-23 05:09:56 +02:00
2885b41895
fix a link problem
2008-09-22 04:03:37 +02:00
a6a19ef609
WIP start drafting how to bootstrap a stream type...
2008-09-17 03:46:38 +02:00
becfcb3935
increase timeout (2sec) to avoid problems when running in a VM
2008-09-13 01:59:39 +02:00
Christian Thaeter
7c992c000d
config setters for number and word, thats it for now
2008-09-10 15:19:50 +02:00
Christian Thaeter
e8cc26efa4
First highlevel setter, small api change
...
* setters return LumieraConfigitem (or NULL) instead int
* the config_string_set works now
2008-09-10 15:19:50 +02:00
Christian Thaeter
61735098ae
test for basic set and get
2008-09-10 15:19:50 +02:00
Christian Thaeter
056bb87f30
config api change, return pointers as truth value
...
NULL indicates some failure,
anything else success (with some usable value)
2008-09-10 15:19:50 +02:00
Christian Thaeter
6cfa08569c
make the test main argv const char
...
This is little stricter than necessary but good for tests
2008-09-10 15:19:50 +02:00
Christian Thaeter
8ca6865c44
FIX: config test to match new semantics
...
In 21db988e18 we removed the fallback to
default values when a value has a config syntax error. Such errors should
not silently ignored and overidden by the default but handled.
2008-09-10 15:19:49 +02:00
deec68422c
scons: simplify how library tests are built
2008-09-07 23:43:06 +02:00
Christian Thaeter
115620fbb5
FIX: luid tests, forgotten to rename uuid to luid
2008-09-07 03:41:37 +02:00
Michael Ploujnikov
f5387d8bf3
Merge branch 'master' of git://git.lumiera.org/LUMIERA
...
Conflicts:
tests/Makefile.am
2008-09-06 20:15:05 -04:00
Christian Thaeter
c4e6cd3c51
Merge branch 'configloader_devel' of git://git.lumiera.org/lumiera/simeon into backend_devel
...
* 'configloader_devel' of git://git.lumiera.org/lumiera/simeon: (24 commits)
Added directive-parser and tests for a content-check of a parsed configitem
Fixed configitem_move, first parsing tests pass now
FIX: Remove llist_move again and put a note to list_relocate, add test
WIP: add config_lookup skeleton
filedescriptor fixup for new copy func in cuckoo
add a custom copy function to the cuckoo hash
fixes after the cuckoo update in filedescriptor.c
Cuckoo hash update
Added two very simple tests for configitem
Typo fix
Fix for section-parser
added section part to parser
parser improvements, compiles now
added CONFIG_SYNTAX errors
typo fix and redundant comment removal
add configitem and configentry to the build system
give the charsets for config keys some constants
fix to make parser mockup compileable, little simplified
WIP: started low-level parser
more functional mockup of the configitem bootstrap
...
Conflicts:
src/backend/config.c
src/backend/config.h
src/backend/config_lookup.c
src/backend/config_lookup.h
src/backend/configitem.c
src/backend/configitem.h
src/backend/filedescriptor.c
src/lib/cuckoo.c
src/lib/cuckoo.h
tests/22config_highlevel.tests
tests/backend/test-config.c
2008-09-06 13:18:29 +02:00
Christian Thaeter
a1bd3ee1f5
use psplay trees for the filedescriptor registry
2008-09-06 12:41:03 +02:00
Christian Thaeter
c3e2941eb8
some machinery for registering and retrieving defaults
...
* let config_setdefault() take a complete configline instead key:value pair
2008-09-06 12:40:32 +02:00
Christian Thaeter
1dca87271f
ConfigLookup working (for now)
...
added the missing unimplemented function, fixed some prototypes,
some cosmetics. Barely tested, no documentation yet.
2008-09-06 12:40:20 +02:00
Christian Thaeter
964d34ba5b
split tests for the config subsystem into lowlevel and highlevel part
2008-09-06 12:40:19 +02:00
Christian Thaeter
a55c122cc3
Fixed configitem_move, first parsing tests pass now
2008-09-06 12:40:19 +02:00
Simeon Voelkel
33297325cc
Added two very simple tests for configitem
2008-09-06 12:40:19 +02:00