summaryrefslogtreecommitdiffstats
path: root/test/Program.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-20 19:12:42 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-20 19:12:42 (GMT)
commitb6251d39d5f5b187a7455923caeede3b962a6d0e (patch)
tree8595ea0663cd30f4faca9f9e9da431f50b0d70e7 /test/Program.py
parent72de329455df792fe1b40d4aeea53f86bc43f298 (diff)
downloadSCons-b6251d39d5f5b187a7455923caeede3b962a6d0e.zip
SCons-b6251d39d5f5b187a7455923caeede3b962a6d0e.tar.gz
SCons-b6251d39d5f5b187a7455923caeede3b962a6d0e.tar.bz2
Add dummy C code to use argc and argv in tests.
Diffstat (limited to 'test/Program.py')
-rw-r--r--test/Program.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Program.py b/test/Program.py
index 06562dc..a2b0e4b 100644
--- a/test/Program.py
+++ b/test/Program.py
@@ -15,6 +15,7 @@ test.write('foo.c', """
int
main(int argc, char *argv[])
{
+ argv[argc++] = "--";
printf("foo.c\n");
exit (0);
}