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/Default.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/Default.py')
-rw-r--r-- | test/Default.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Default.py b/test/Default.py index 0666a77..916ad24 100644 --- a/test/Default.py +++ b/test/Default.py @@ -39,6 +39,7 @@ for dir in ['one', 'two', 'three']: int main(int argc, char *argv[]) { + argv[argc++] = "--"; printf("%s\n"); exit (0); } @@ -48,6 +49,7 @@ main(int argc, char *argv[]) int main(int argc, char *argv[]) { + argv[argc++] = "--"; printf("%s\n"); exit (0); } |