diff --git a/tests/manual/cplusplus/main.cpp b/tests/manual/cplusplus/main.cpp index b8a8e328708..c33bcbbeff7 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 00000000000..7403721300e --- /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 00000000000..c0494257c8f --- /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