Skip Menu |

This queue is for tickets about the Devel-PerlySense CPAN distribution.

Report information
The Basics
Id: 67853
Status: new
Priority: 0/
Queue: Devel-PerlySense

Owner: Nobody in particular
Requestors: user42 [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: ps/expected-test-count and
Date: Sat, 30 Apr 2011 09:54:09 +1000
To: bug-Devel-PerlySense [...]
From: Kevin Ryde <user42 [...]>
Download (untitled) / with headers
text/plain 518b
When running a test script outside of the test harness there's no summary for ps/expected-test-count to pick up. It might as the last thing it tries, look for the last ok or not ok for how many tests were actually run, ;; in a raw run of a (without the test harness) there's ;; no count summary, look for the last "ok" or "not ok" (goto-char (point-max)) (if (re-search-backward "^\\(not \\)?ok \\([0-9]+\\)$" nil t) (throw 'count-string (string-to-number (match-string 2))))

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to