summaryrefslogtreecommitdiffstats
path: root/test/Repository/include.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-10-14 16:23:52 (GMT)
committerSteven Knight <knight@baldmt.com>2005-10-14 16:23:52 (GMT)
commitaf962864b108d8fdd654edaf3c0300404ca07e3e (patch)
tree3a6877e15644a6da25570af9ee7aade000983ad4 /test/Repository/include.py
parent82c2f16e53cba1a639d568fe8d6780dfe30c56ab (diff)
downloadSCons-af962864b108d8fdd654edaf3c0300404ca07e3e.zip
SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.gz
SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.bz2
Get rid of indentation tabs in the test scripts and have runtest.py invoke them with the python -tt option to keep them out.
Diffstat (limited to 'test/Repository/include.py')
-rw-r--r--test/Repository/include.py28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/Repository/include.py b/test/Repository/include.py
index e555e9e..577442a 100644
--- a/test/Repository/include.py
+++ b/test/Repository/include.py
@@ -47,12 +47,12 @@ env.Program(target = 'foo', source = 'foo.c')
""" % repository)
test.write(['repository', 'foo.h'], r"""
-#define STRING1 "repository/foo.h"
+#define STRING1 "repository/foo.h"
#include <bar.h>
""")
test.write(['repository', 'bar.h'], r"""
-#define STRING2 "repository/bar.h"
+#define STRING2 "repository/bar.h"
""")
test.write(['repository', 'foo.c'], r"""
@@ -60,11 +60,11 @@ test.write(['repository', 'foo.c'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("%s\n", STRING1);
- printf("%s\n", STRING2);
- printf("repository/foo.c\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("%s\n", STRING1);
+ printf("%s\n", STRING2);
+ printf("repository/foo.c\n");
+ exit (0);
}
""")
@@ -84,7 +84,7 @@ test.up_to_date(chdir = 'work', arguments = '.')
#
test.write(['work', 'foo.h'], r"""
-#define STRING1 "work/foo.h"
+#define STRING1 "work/foo.h"
#include <bar.h>
""")
@@ -104,11 +104,11 @@ test.write(['work', 'foo.c'], r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("%s\n", STRING1);
- printf("%s\n", STRING2);
- printf("work/foo.c\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("%s\n", STRING1);
+ printf("%s\n", STRING2);
+ printf("work/foo.c\n");
+ exit (0);
}
""")
@@ -124,7 +124,7 @@ test.up_to_date(chdir = 'work', arguments = '.')
#
test.write(['work', 'bar.h'], r"""
-#define STRING2 "work/bar.h"
+#define STRING2 "work/bar.h"
""")
test.run(chdir = 'work', arguments = '.')