]> granicus.if.org Git - libexpat/commitdiff
coverage.sh: Migrate to GNU Automake (#65)
authorSebastian Pipping <sebastian@pipping.org>
Sat, 9 Sep 2017 16:12:08 +0000 (18:12 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sat, 9 Sep 2017 16:59:29 +0000 (18:59 +0200)
expat/coverage.sh

index 8f2e4d6eda3333f5c60db78a9f295e05469383bf..48f9306c54bd0d3b19972d445c058b9e19db6ab1 100755 (executable)
@@ -115,17 +115,20 @@ _run() {
 
         (
             set -x
-            make buildlib &> build.log
+            make -C lib &> build.log
 
             lcov -c -d "${capture_dir}" -i -o "${coverage_info}-zero" &> run.log
         )
 
         if ${with_mingw}; then
-            _copy_missing_mingw_libaries .libs
+            for d in {tests,xmlwf}/.libs ; do
+                mkdir -p "${d}"
+                _copy_missing_mingw_libaries "${d}"
+            done
         fi
 
         set -x
-        make check run-xmltest
+        make all check run-xmltest
 
         lcov -c -d "${capture_dir}" -o "${coverage_info}-test" &>> run.log
         lcov \