From c5ff50fc19ac8393be3cad5f7c1578a6a8c64819 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 31 May 2017 11:48:02 -0400 Subject: Tests: Fix CustomCommandByproducts regex for phony rules Update the regex to match phony rules that have no inputs. --- Tests/CustomCommandByproducts/ninja-check.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/CustomCommandByproducts/ninja-check.cmake b/Tests/CustomCommandByproducts/ninja-check.cmake index 2fc3cc2..a7beb3d 100644 --- a/Tests/CustomCommandByproducts/ninja-check.cmake +++ b/Tests/CustomCommandByproducts/ninja-check.cmake @@ -4,7 +4,7 @@ if("${build_ninja}" MATCHES [====[ # Tell Ninja that they may appear as side effects of build rules # otherwise ordered by order-only dependencies. -((build [^:]*: phony [^\n]* +((build [^:]*: phony[^\n]* )*)# ========]====]) set(phony "${CMAKE_MATCH_1}") if(NOT phony) -- cgit v0.12