summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-03-29 18:28:30 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-10 19:14:34 (GMT)
commit588dcb33b7ff089a84ce5cbacf2696b4a3646b42 (patch)
tree33fd43e30550fdf09440d76b7d6d75a13eb21d58 /Tests/RunCMake/CommandLine
parent4e039a9a9814fd13142ae2c9876420ddf2414b8e (diff)
downloadCMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.zip
CMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.tar.gz
CMake-588dcb33b7ff089a84ce5cbacf2696b4a3646b42.tar.bz2
cmake: Provide guidance when an invalid -G option is given
Print a list of generators if no generator or an invalid one is supplied. Signed-off-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r--Tests/RunCMake/CommandLine/G_bad-arg-stderr.txt4
-rw-r--r--Tests/RunCMake/CommandLine/G_no-arg-stderr.txt4
2 files changed, 6 insertions, 2 deletions
diff --git a/Tests/RunCMake/CommandLine/G_bad-arg-stderr.txt b/Tests/RunCMake/CommandLine/G_bad-arg-stderr.txt
index 511208f..07f2b52 100644
--- a/Tests/RunCMake/CommandLine/G_bad-arg-stderr.txt
+++ b/Tests/RunCMake/CommandLine/G_bad-arg-stderr.txt
@@ -1 +1,3 @@
-^CMake Error: Could not create named generator NoSuchGenerator$
+^CMake Error: Could not create named generator NoSuchGenerator
+
+Generators
diff --git a/Tests/RunCMake/CommandLine/G_no-arg-stderr.txt b/Tests/RunCMake/CommandLine/G_no-arg-stderr.txt
index 56d23c2..2f491a2 100644
--- a/Tests/RunCMake/CommandLine/G_no-arg-stderr.txt
+++ b/Tests/RunCMake/CommandLine/G_no-arg-stderr.txt
@@ -1 +1,3 @@
-^CMake Error: No generator specified for -G$
+^CMake Error: No generator specified for -G
+
+Generators