summaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2010-04-24 10:02:41 -0700
committerDaniel Burrows <dburrows@debian.org>2010-04-24 10:02:41 -0700
commitf440be114eb4f8b4c7df267a1225f436c96d895c (patch)
tree1357382e607468c229d6b123cf47fd338a6301b9 /tests/SConscript
parentdb8a6cbe6411d3f8856139d653162ee529db1241 (diff)
downloadaptitude-f440be114eb4f8b4c7df267a1225f436c96d895c.tar.gz
Fix how the source directory is defined.
A dict apparently can't be appended, but a tuple (var, value) works.
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SConscript b/tests/SConscript
index 587759a5..c49896ee 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -39,7 +39,7 @@ cppunit_test = cppunit_tests_env.Program('cppunit_test',
cppunit_test_extra_deps))
# The file cache test uses this to find its input data.
-boost_tests_env.Append(CPPDEFINES = { 'SRCDIR' : str(Dir('.')) })
+boost_tests_env.Append(CPPDEFINES = ('SRCDIR', Dir('.').abspath))
boost_test = boost_tests_env.Program('boost_test',
(boost_test_sources,