summaryrefslogtreecommitdiff
path: root/test/packaging
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2010-06-10 08:19:53 +0000
committerSteven Knight <knight@baldmt.com>2010-06-10 08:19:53 +0000
commitd388689c6985a4e4f508bc75a2740e44d003b37e (patch)
treeb411e36b1daa61aa76395d4d11153fe6a4b693c6 /test/packaging
parent05d7b3a12651855af09226b6eabeabdb660f746a (diff)
downloadscons-d388689c6985a4e4f508bc75a2740e44d003b37e.tar.gz
Increase the default timeout of TestSCons.wait_for() to 20.0 seconds.
(--interactive mode on our Solaris buildbot slave takes longer than 10 seconds to create the necessary marker files.) Set the stdin attribute on our popen object to None after we close it, so some versions of subprocess.py don't try to write it after it's closed. If we time out waiting for a marker file to be created, then print any stdout or stderr that's already accumulated, since that may give clues about why the test failed.
Diffstat (limited to 'test/packaging')
-rw-r--r--test/packaging/tar/gz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packaging/tar/gz.py b/test/packaging/tar/gz.py
index 052adc27..f841c591 100644
--- a/test/packaging/tar/gz.py
+++ b/test/packaging/tar/gz.py
@@ -45,7 +45,7 @@ int main( int argc, char* argv[] )
{
return 0;
}
- """)
+""")
test.write('SConstruct', """
Program( 'src/main.c' )