diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-20 19:12:42 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-20 19:12:42 (GMT) |
commit | b6251d39d5f5b187a7455923caeede3b962a6d0e (patch) | |
tree | 8595ea0663cd30f4faca9f9e9da431f50b0d70e7 /test/Program.py | |
parent | 72de329455df792fe1b40d4aeea53f86bc43f298 (diff) | |
download | SCons-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.py | 1 |
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); } |