summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-10-20 14:38:00 (GMT)
committerBrad King <brad.king@kitware.com>2016-10-20 15:04:21 (GMT)
commit010560be6674def3ce02d05dcf2331230d0c4e91 (patch)
tree656b301004d07296a990f20eeb91573bcee81fb3 /Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt
parent2d3aa94225e259c9bc1c0d469e6326b476d225c1 (diff)
downloadCMake-010560be6674def3ce02d05dcf2331230d0c4e91.zip
CMake-010560be6674def3ce02d05dcf2331230d0c4e91.tar.gz
CMake-010560be6674def3ce02d05dcf2331230d0c4e91.tar.bz2
Ninja: Fail early on when ninja build tool does not run
Diagnose failure to run `ninja --version` and abort early. Otherwise we end up aborting with a confusing message about ninja version "" being too old. Closes: #16378
Diffstat (limited to 'Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt')
-rw-r--r--Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt b/Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt
new file mode 100644
index 0000000..1214288
--- /dev/null
+++ b/Tests/RunCMake/Ninja/NinjaToolMissing-stderr.txt
@@ -0,0 +1,6 @@
+^CMake Error at CMakeLists.txt:[0-9]+ \(project\):
+ Running
+
+ 'ninja-tool-missing' '--version'
+
+ failed with: