diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/expect/cmd.help1-stderr.txt | 1 | ||||
-rw-r--r-- | test/expect/cmd.help1-stdout.txt | 7 | ||||
-rw-r--r-- | test/expect/cmd.help2-stderr.txt | 1 | ||||
-rw-r--r-- | test/expect/cmd.help2-stdout.txt | 7 |
5 files changed, 18 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6d3d8a9..19c00dc 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -63,6 +63,8 @@ set(empty_cxx ${input}/empty.cxx) set(empty_m ${input}/empty.m) set(empty_mm ${input}/empty.mm) +castxml_test_cmd(help1 -help) +castxml_test_cmd(help2 --help) castxml_test_cmd(no-arguments) castxml_test_cmd(version --version) diff --git a/test/expect/cmd.help1-stderr.txt b/test/expect/cmd.help1-stderr.txt new file mode 100644 index 0000000..10f3293 --- /dev/null +++ b/test/expect/cmd.help1-stderr.txt @@ -0,0 +1 @@ +^$ diff --git a/test/expect/cmd.help1-stdout.txt b/test/expect/cmd.help1-stdout.txt new file mode 100644 index 0000000..9b47306 --- /dev/null +++ b/test/expect/cmd.help1-stdout.txt @@ -0,0 +1,7 @@ +^Usage: castxml .* + +Help for the internal Clang compiler appears below. + +--------------------------------------------------------------- + +OVERVIEW: clang LLVM compiler diff --git a/test/expect/cmd.help2-stderr.txt b/test/expect/cmd.help2-stderr.txt new file mode 100644 index 0000000..10f3293 --- /dev/null +++ b/test/expect/cmd.help2-stderr.txt @@ -0,0 +1 @@ +^$ diff --git a/test/expect/cmd.help2-stdout.txt b/test/expect/cmd.help2-stdout.txt new file mode 100644 index 0000000..9b47306 --- /dev/null +++ b/test/expect/cmd.help2-stdout.txt @@ -0,0 +1,7 @@ +^Usage: castxml .* + +Help for the internal Clang compiler appears below. + +--------------------------------------------------------------- + +OVERVIEW: clang LLVM compiler |