From 9e780afccdb792681fed99062a726ce96309d05e Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Wed, 10 Jun 2020 17:22:27 -0700 Subject: [PATCH 1/2] Enable verbosity in apps builds Hoping this will help us track down flaky Windows failures. --- apps/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 6d7030524ad9..39baa1329d3e 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -52,6 +52,8 @@ function(add_app_test NAME) endif () set(cmakeDefinitionOpts + # TODO: enable verbose here temporarily, to try to track down flaky Windows failures + "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DCMAKE_PREFIX_PATH=${HALIDE_DIR}" "-DCMAKE_BUILD_TYPE=$" "-DLLVM_DIR=${LLVM_DIR}") From 53e8ab664dd9487a4d647a3b0681f8460de5d2a1 Mon Sep 17 00:00:00 2001 From: Steven Johnson Date: Wed, 10 Jun 2020 17:31:56 -0700 Subject: [PATCH 2/2] Also add --output-on-failure --- apps/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/CMakeLists.txt b/apps/CMakeLists.txt index 39baa1329d3e..930ba8647338 100644 --- a/apps/CMakeLists.txt +++ b/apps/CMakeLists.txt @@ -63,6 +63,7 @@ function(add_app_test NAME) add_test(NAME ${NAME} COMMAND ${CMAKE_CTEST_COMMAND} + --output-on-failure --build-and-test "${CMAKE_CURRENT_SOURCE_DIR}/${NAME}" "${CMAKE_CURRENT_BINARY_DIR}/app_test_${NAME}" --build-generator "${CMAKE_GENERATOR}" ${cmakeGenOpts}