Change the dependencies so we unpack the .tar.gz file for testing
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 12 Jul 2001 11:05:29 +0000 (11:05 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 12 Jul 2001 11:05:29 +0000 (11:05 +0000)
whenever any source file changes, not just __init__.py.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@6 fdb21ef1-2011-0410-befe-b5e4ea1792b1

Construct

index bf77bb75592906cb7f62c48b3f9562e719b7ce34..4cc3c460a0e2ad2b7012b1051b8b1b5a448f87ed 100644 (file)
--- a/Construct
+++ b/Construct
@@ -79,7 +79,9 @@ Depends $env [@targets], 'build/MANIFEST';
 #
 $test_dir = "build/test";
 
-Command $env "$test_dir/$project-$version/$project/__init__.py", $tar_gz, qq(
+@test_files = map("$test_dir/$project-$version/$_", @files);
+
+Command $env [@test_files], $tar_gz, qq(
     rm -rf $test_dir/$project-$version
     tar zxf %< -C $test_dir
 );