]> granicus.if.org Git - libexpat/commitdiff
coverage.sh: Announce commands
authorSebastian Pipping <sebastian@pipping.org>
Mon, 8 May 2017 18:20:50 +0000 (20:20 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Mon, 8 May 2017 18:30:30 +0000 (20:30 +0200)
expat/coverage.sh

index 831d80b3fab55794b293a7d588418676bf4cdd75..20789e4b379e4078f0e6919e6b1879a3ecee2b24 100755 (executable)
@@ -34,8 +34,8 @@ _configure() {
 
     (
         set -x
-        ./buildconf.sh
-        ./configure "${configure_args[@]}" "$@"
+        ./buildconf.sh &> configure.log
+        ./configure "${configure_args[@]}" "$@" &>> configure.log
     )
 }
 
@@ -66,8 +66,9 @@ _run() {
 
         _configure \
                 CFLAGS="${BASE_FLAGS}" \
-                CXXFLAGS="${BASE_FLAGS}" &> configure.log
+                CXXFLAGS="${BASE_FLAGS}"
 
+        set -x
         make buildlib &> build.log
 
         lcov -c -d "${capture_dir}" -i -o "${coverage_info}-zero" &> run.log