Fix coverage analysis of procedures called from C.
authorLudovic Courtès <ludo@gnu.org>
Fri, 24 Sep 2010 13:19:49 +0000 (15:19 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 24 Sep 2010 13:39:47 +0000 (15:39 +0200)
commit639b2eb7107b26207d13bb8acb4c1d38d7dba3bd
tree137aee74fd4743902b190fbb3be41c4d40a1663e
parentede3d96bd675246bbe138bacb2fdbbdf2523d247
Fix coverage analysis of procedures called from C.

* module/system/vm/coverage.scm (with-code-coverage): Switch current
  thread to VM, using `set-thread-vm!'.

* test-suite/tests/coverage.test ("procedure-execution-count")["called
  from C"]: New test.
module/system/vm/coverage.scm
test-suite/tests/coverage.test