summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/InstallParallel/check-single.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/InstallParallel/check-single.cmake')
-rw-r--r--Tests/RunCMake/InstallParallel/check-single.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/InstallParallel/check-single.cmake b/Tests/RunCMake/InstallParallel/check-single.cmake
new file mode 100644
index 0000000..79c4d5c
--- /dev/null
+++ b/Tests/RunCMake/InstallParallel/check-single.cmake
@@ -0,0 +1,5 @@
+include(read-ninja-install.cmake)
+list(LENGTH lines len)
+if (NOT ${len} STREQUAL "1")
+ message(FATAL_ERROR "Expected single installation call")
+endif()