diff options
author | Daniel Burrows <dburrows@debian.org> | 2010-04-24 14:21:10 -0700 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2010-04-24 14:21:10 -0700 |
commit | 7eeefb4164a6f4b74f88cae3a420875703590407 (patch) | |
tree | cbea65e61d02bbcfa15e0c0463702567e28b875d /tests/SConscript | |
parent | a2c6c85488f901ae4e5d0b9d124b435bb37c867b (diff) | |
download | aptitude-7eeefb4164a6f4b74f88cae3a420875703590407.tar.gz |
Add explicit dependencies between the test-running target and the test file caches.
I could have just used the version in the source directory, but I like
using a copy in case anything goes wrong.
Diffstat (limited to 'tests/SConscript')
-rw-r--r-- | tests/SConscript | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript index a4135de5..1858186e 100644 --- a/tests/SConscript +++ b/tests/SConscript @@ -85,3 +85,8 @@ boost_tests_env.Append(CPPDEFINES = ('SRCDIR', ShellEscape(CString('.')))) boost_test = boost_tests_env.Test('boost_test', (boost_test_sources, boost_test_extra_deps)) + +# Ensure that the test file caches are copied to the build directory. +boost_tests_env.Depends(boost_test, ['file_caches/ver2_cache.db', + 'file_caches/ver3_cache.db']) + |