guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] tests-suite: resurrect invoking check-guile --coverage.


From: Jan Nieuwenhuizen
Subject: [PATCH] tests-suite: resurrect invoking check-guile --coverage.
Date: Tue, 28 Jun 2016 15:20:07 +0200

Hi!

I'm sending this patch mainly because running the tests with coverage
fails.  I am using a patched copy (more gnu style error messages, that
patch did not get in yet) of the guile test framework and this is broken
with master now.

After this patch, try:

    check-guile --coverage

Greetings,
Jan

>From dc55bda8314aca5a77b25d0b7521e907a98ee368 Mon Sep 17 00:00:00 2001
From: Jan Nieuwenhuizen <address@hidden>
Date: Tue, 28 Jun 2016 15:16:13 +0200
Subject: [PATCH] tests-suite: resurrect invoking check-guile --coverage.

* test-suite/guile-test (main): remove (the-vm) from with-code-coverage call.
---
 test-suite/guile-test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-suite/guile-test b/test-suite/guile-test
index 4a264b4..da1bcda 100755
--- a/test-suite/guile-test
+++ b/test-suite/guile-test
@@ -246,7 +246,7 @@
                              tests))))
             (if (opt 'coverage #f)
                 (let-values (((coverage-data _)
-                              (with-code-coverage (the-vm) run-tests)))
+                              (with-code-coverage run-tests)))
                   (let ((out (open-output-file "guile.info")))
                     (coverage-data->lcov coverage-data out)
                     (close out)))
-- 
2.8.4

-- 
Jan Nieuwenhuizen <address@hidden> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | AvatarĀ®  http://AvatarAcademy.nl  

reply via email to

[Prev in Thread] Current Thread [Next in Thread]