Commit bcc9efea authored by Maximilien Colange's avatar Maximilien Colange

properly catch failure of the test driver even if piped

parent 9b28838d
#! /bin/sh
#! /bin/bash
# teamcity-test-driver - basic testsuite driver script that reports tests results in
# TeamCity format
# this file derives from the basic autotools test-driver (cf copyright below)
......@@ -106,6 +106,7 @@ trap "st=141; $do_exit" 13
trap "st=143; $do_exit" 15
# Test script is run here.
set -o pipefail
"$@" 2>&1 | tee $log_file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment