summaryrefslogtreecommitdiffstats
path: root/test/CXX
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX')
-rw-r--r--test/CXX/CXX.py20
-rw-r--r--test/CXX/CXXFILESUFFIX.py8
-rw-r--r--test/CXX/SHCXX.py12
-rw-r--r--test/CXX/SHCXXFLAGS.py4
4 files changed, 22 insertions, 22 deletions
diff --git a/test/CXX/CXX.py b/test/CXX/CXX.py
index 6f9f0ce..70a9b82 100644
--- a/test/CXX/CXX.py
+++ b/test/CXX/CXX.py
@@ -52,7 +52,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:8] != '/*link*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -72,7 +72,7 @@ infile = open(inf, 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:7] != '/*c++*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -88,7 +88,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:8] != '/*link*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -102,7 +102,7 @@ infile = open(args[0], 'rb')
outfile = open(out, 'wb')
for l in infile.readlines():
if l[:7] != '/*c++*/':
- outfile.write(l)
+ outfile.write(l)
sys.exit(0)
""")
@@ -199,9 +199,9 @@ test.write('foo.cxx', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.cxx\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.cxx\n");
+ exit (0);
}
""")
@@ -211,9 +211,9 @@ test.write('bar.cxx', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.cxx\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.cxx\n");
+ exit (0);
}
""")
diff --git a/test/CXX/CXXFILESUFFIX.py b/test/CXX/CXXFILESUFFIX.py
index d729076..8f4c4fa 100644
--- a/test/CXX/CXXFILESUFFIX.py
+++ b/test/CXX/CXXFILESUFFIX.py
@@ -55,10 +55,10 @@ input = r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("LEX\n");
- printf("%s\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("LEX\n");
+ printf("%s\n");
+ exit (0);
}
"""
diff --git a/test/CXX/SHCXX.py b/test/CXX/SHCXX.py
index a3c98c7..5c050d1 100644
--- a/test/CXX/SHCXX.py
+++ b/test/CXX/SHCXX.py
@@ -55,9 +55,9 @@ test.write('foo.cpp', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.c\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.c\n");
+ exit (0);
}
""")
@@ -67,9 +67,9 @@ test.write('bar.cpp', r"""
int
main(int argc, char *argv[])
{
- argv[argc++] = "--";
- printf("foo.c\n");
- exit (0);
+ argv[argc++] = "--";
+ printf("foo.c\n");
+ exit (0);
}
""")
diff --git a/test/CXX/SHCXXFLAGS.py b/test/CXX/SHCXXFLAGS.py
index 38feca1..049be6c 100644
--- a/test/CXX/SHCXXFLAGS.py
+++ b/test/CXX/SHCXXFLAGS.py
@@ -85,10 +85,10 @@ extern "C" void
doIt()
{
#ifdef FOO
- printf("prog.cpp: FOO\n");
+ printf("prog.cpp: FOO\n");
#endif
#ifdef BAR
- printf("prog.cpp: BAR\n");
+ printf("prog.cpp: BAR\n");
#endif
}
""")