diff options
author | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 09:44:21 +0100 |
---|---|---|
committer | Roberto Raggi <qtc-committer@nokia.com> | 2009-01-07 09:44:21 +0100 |
commit | bbb570481b3a3e7bcae81732ec43f20228805b11 (patch) | |
tree | 8a38d1a23a57f615c2e50ad669ecd36b2c17e864 /tests/manual/cplusplus | |
parent | 2e064af15da78b670cec3d270b947aece50b578a (diff) | |
download | qt-creator-bbb570481b3a3e7bcae81732ec43f20228805b11.tar.gz |
test the rewriter and the pretty printer.
Diffstat (limited to 'tests/manual/cplusplus')
-rw-r--r-- | tests/manual/cplusplus/main.cpp | 2 | ||||
-rwxr-xr-x | tests/manual/cplusplus/test-pretty-printer | 3 | ||||
-rwxr-xr-x | tests/manual/cplusplus/test-rewriter | 3 |
3 files changed, 7 insertions, 1 deletions
diff --git a/tests/manual/cplusplus/main.cpp b/tests/manual/cplusplus/main.cpp index b8a8e32870..c33bcbbeff 100644 --- a/tests/manual/cplusplus/main.cpp +++ b/tests/manual/cplusplus/main.cpp @@ -231,7 +231,7 @@ int main(int argc, char *argv[]) const QByteArray appFileName = QFile::encodeName(appInfo.fileName()); printf("Usage: %s [options]\n" - " --help Display ths information\n" + " --help Display this information\n" " --test-rewriter Test the tree rewriter\n" " --test-pretty-printer Test the pretty printer\n", appFileName.constData()); diff --git a/tests/manual/cplusplus/test-pretty-printer b/tests/manual/cplusplus/test-pretty-printer new file mode 100755 index 0000000000..7403721300 --- /dev/null +++ b/tests/manual/cplusplus/test-pretty-printer @@ -0,0 +1,3 @@ +#!/bin/sh +me=$(dirname $0) +${CPP-gcc} -xc++ -E -include $me/conf.c++ $* | $me/cplusplus0 --test-pretty-printer diff --git a/tests/manual/cplusplus/test-rewriter b/tests/manual/cplusplus/test-rewriter new file mode 100755 index 0000000000..c0494257c8 --- /dev/null +++ b/tests/manual/cplusplus/test-rewriter @@ -0,0 +1,3 @@ +#!/bin/sh +me=$(dirname $0) +${CPP-gcc} -xc++ -E -include $me/conf.c++ $* | $me/cplusplus0 --test-rewriter |