[telepathy-glib/master] use abs_top_srcdir instead of abs_top_builddir
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Fri May 22 07:39:21 PDT 2009
---
tests/Makefile.am | 3 ++-
tests/all-errors-documented.py | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 6e39778..900c281 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -17,8 +17,9 @@ TESTS = $(noinst_PROGRAMS) \
TESTS_ENVIRONMENT = \
abs_top_builddir=@abs_top_builddir@ \
+ abs_top_srcdir=@abs_top_srcdir@ \
G_DEBUG=fatal_warnings,fatal_criticals \
- PYTHONPATH=@abs_top_builddir@/tools
+ PYTHONPATH=@abs_top_srcdir@/tools
VALGRIND_TESTS_ENVIRONMENT = \
G_SLICE=always-malloc \
diff --git a/tests/all-errors-documented.py b/tests/all-errors-documented.py
index da3e43c..ab49763 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'])
--
1.5.6.5
More information about the telepathy-commits
mailing list