[jhbuild] tests: ensure top_builddir is set on top of temporary prefix



commit 781979ebc26f47ac2807a46715a711e6129f8668
Author: FrÃdÃric PÃters <fpeters 0d be>
Date:   Sat Oct 8 11:56:00 2011 -0400

    tests: ensure top_builddir is set on top of temporary prefix

 tests/tests.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/tests.py b/tests/tests.py
index 1768a3b..08c5292 100644
--- a/tests/tests.py
+++ b/tests/tests.py
@@ -107,6 +107,7 @@ class JhbuildConfigTestCase(unittest.TestCase):
         config = TestConfig()
         config.checkoutroot = os.path.abspath(os.path.join(temp_dir, 'checkout'))
         config.prefix = os.path.abspath(os.path.join(temp_dir, 'prefix'))
+        config.top_builddir = os.path.join(config.prefix, '_jhbuild')
         os.makedirs(config.checkoutroot)
         os.makedirs(config.prefix)
         config.interact = False



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]