From 2320ba483752867872ca0128098af4e0eef08164 Mon Sep 17 00:00:00 2001 From: Konstantin Varlamov Date: Wed, 18 Apr 2018 12:52:43 -0400 Subject: Firestore Travis: ensure CTest outputs the log on failure. (#1118) In CMake build of Firestore, configure CTest so that upon failure, it prints out the full log of the failing test(s). --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index 827fc14..fd4e874 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -171,7 +171,7 @@ case "$product-$method-$platform" in echo "Building cmake build ..." cpus=$(sysctl -n hw.ncpu) - (cd build; make -j $cpus all) + (cd build; env CTEST_OUTPUT_ON_FAILURE=1 make -j $cpus all) ;; *) -- cgit v1.2.3