diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-22 15:39:21 +0100 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-05-22 15:39:21 +0100 |
commit | 6f6e11e59cb341d487247e76382c7b6770448fea (patch) | |
tree | d377f131966209c2eb60fe72219352292b36d9f0 /tests/all-errors-documented.py | |
parent | ba0d51b280f221c4b368683048026920affe341e (diff) | |
download | telepathy-glib-6f6e11e59cb341d487247e76382c7b6770448fea.tar.gz |
use abs_top_srcdir instead of abs_top_builddir
Diffstat (limited to 'tests/all-errors-documented.py')
-rwxr-xr-x | tests/all-errors-documented.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/all-errors-documented.py b/tests/all-errors-documented.py index da3e43c26..ab4976326 100755 --- a/tests/all-errors-documented.py +++ b/tests/all-errors-documented.py @@ -9,9 +9,9 @@ import xml.dom.minidom from libglibcodegen import NS_TP, camelcase_to_upper -def check_all_errors_documented(abs_top_builddir): - error_path = os.path.join(abs_top_builddir, 'spec', 'errors.xml') - sections_path = os.path.join(abs_top_builddir, 'docs', 'reference', +def check_all_errors_documented(abs_top_srcdir): + error_path = os.path.join(abs_top_srcdir, 'spec', 'errors.xml') + sections_path = os.path.join(abs_top_srcdir, 'docs', 'reference', 'telepathy-glib-sections.txt') sections = open(sections_path).readlines() @@ -27,4 +27,4 @@ def check_all_errors_documented(abs_top_builddir): sys.exit(1) if __name__ == '__main__': - check_all_errors_documented(os.environ['abs_top_builddir']) + check_all_errors_documented(os.environ['abs_top_srcdir']) |