Statistics
| Branch: | Tag: | Revision:

root / autotools @ df69e0a0

Name Size
ac_python_module.m4 1000 Bytes
build-bash-completion 18.2 kB
build-rpc 5.3 kB
check-header 3.8 kB
check-imports 2.3 kB
check-man 939 Bytes
check-news 2.5 kB
check-python-code 2.1 kB
check-tar 1.5 kB
check-version 1.3 kB
convert-constants 2.6 kB
docpp 1.4 kB
gen-coverage 1.6 kB
run-in-tempdir 445 Bytes
testrunner 1 kB

Latest revisions

# Date Author Comment
df69e0a0 12/22/2011 09:09 pm Bernardo Dal Seno

Fix failure in distcheck and coverage tests

autotools/testrunner was missing in distcheck. Now some changes from
7004106119c5c56c93085ccfb1250b3561b5b6ad have been reverted, and testrunner
is not built anymore. coverage now uses fakeroot when needed.

Signed-off-by: Bernardo Dal Seno <>...

70041061 12/22/2011 03:12 pm Bernardo Dal Seno

unit tests: added fakeroot support

Tests ending in "-runasroot" or "-runasroot.py" are run through fakeroot,
so activity that needs root privileges can be tested.

Signed-off-by: Bernardo Dal Seno <>
Reviewed-by: Iustin Pop <>...

60154921 12/21/2011 06:02 pm Iustin Pop

Extend RPC definition change with another parameter

This will be used in a later patch for parameter pre-processing. For
now we just add the parameter as 'None' and add a consistency check
for the parameter definitions.

Signed-off-by: Iustin Pop <>...

99cafe0f 11/21/2011 11:59 am Michael Hanselmann

build-rpc: Fail if call is defined more than once

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

db859c7d 11/14/2011 08:23 am Michael Hanselmann

check-python-code: Detect old-style pylint disable-msg lines

Commit b459a848d was supposed to replace all, but one was missed. Add a
check to autotools/check-python-code.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Andrea Spadaccini <>

f68cc544 11/08/2011 05:44 pm Michael Hanselmann

rpc: Fix issue with “test_delay”'s timeout

I passed the timeout calculation function in the wrong field of the
definition. A small change is also needed in “build-rpc” to not abort
when writing the docstring.

Signed-off-by: Michael Hanselmann <>...

f7d9b3aa 11/07/2011 07:15 pm Michael Hanselmann

RPC/test_delay: Use callable for timeout calculation

This avoids having to override the function in the RPC runner.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

26d502d0 11/07/2011 07:15 pm Michael Hanselmann

rpc: Move post-processor functions into definitions file

This way the generated code no longer contains arbitrary code.
Post-processing functions are used by reference.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: René Nussbaumer <>

702abcf9 11/07/2011 07:14 pm Michael Hanselmann

rpc: Use definitions directly instead of via generated code

Until now “autotools/build-rpc” would read the definition of all RPCs
and write them to a new file, “lib/_generated_rpc.py” with some
modifications. With this patch the generated code loads the definitions...

a09f9847 11/07/2011 07:01 pm Michael Hanselmann

Convert RPC definitions to dictionaries

This is in preparation to reducing the amount of generated code.

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

View revisions

Also available in: Atom