diff options
author | Konstantin Varlamov <var-const@users.noreply.github.com> | 2018-04-18 12:52:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-18 12:52:43 -0400 |
commit | 2320ba483752867872ca0128098af4e0eef08164 (patch) | |
tree | 746d529b274f1d16c4bf99e2b1962f8aed7eafdd /scripts | |
parent | a5b3185ed372fc16b5430c230c197e3dbd34f953 (diff) |
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).
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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) ;; *) |