SchemeUnit
pedro pinto <[email protected]> Fri, 10 Feb 2006 18:07:44 +0000
| Newsgroups | gmane.lisp.scheme.plt.schematics |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_23836_5797029.1139594864189
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi there,
I think the latest SchemeUnit on planet has a small bug: the text ui allway=
s
prints 0 as the number of test successes. I poked around the code a bit and
changed update-count! on text-ui.ss to:
(define (update-count! count result)
(match result
[($ test-failure case result)
(add-failure! count)]
[($ test-error case result)
(add-error! count)]
[($ test-success case result)
(add-success! count)])) ; used to be
(print-success case result)]))
That seems to have done the trick.
-pp
ps: I really SchemeUnit thanks for sharing.
On 2/10/06, schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org <
schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org> wrote:
>
> Send Schematics-development mailing list submissions to
> schematics-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> https://lists.sourceforge.net/lists/listinfo/schematics-development
> or, via email, send a message with subject or body 'help' to
> schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> You can reach the person managing the list at
> schematics-development-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Schematics-development digest..."
>
>
> Today's Topics:
>
> 1. Re: Fixing compilation of SchemeUnit (Noel Welsh)
>
> --__--__--
>
> Message: 1
> Date: Thu, 9 Feb 2006 09:37:45 -0800 (PST)
> From: Noel Welsh <noelwelsh-/[email protected]>
> Subject: Re: [Schematics-development] Fixing compilation of SchemeUnit
> To: Ryan Culpepper <[email protected]>
> Cc: schematics-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
> --- Ryan Culpepper <[email protected]> wrote:
>
>
> > I just put out a new planet package based on the CVS
> > code. It contains a
> > couple macro bug fixes, a couple gui display
> > improvements, and maybe a
> > fix to the Windows bug (depending on whether paths are
> > considered 3D
> > syntax and depending on how mzscheme loads files).
>
> Thanks dude. My plan was fix it with a new version (i.e.
> 3.0) but this is a useful intermediate step.
>
> N.
>
> Email: noelwelsh <at> yahoo <dot> com noel <at> untyped <dot> com
> AIM: noelhwelsh
> Blogs: http://monospaced.blogspot.com/ http://www.untyped.com/untyping/
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
>
> --__--__--
>
> _______________________________________________
> Schematics-development mailing list
> Schematics-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/schematics-development
>
>
> End of Schematics-development Digest
>
------=_Part_23836_5797029.1139594864189
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hi there,<br><br>I think the latest SchemeUnit on planet has a small bug: t=
he text ui allways prints 0 as the number of test successes. I poked around=
the code a bit and changed update-count! on text-ui.ss to:<br><br> &n=
bsp; (define (update-count! count result)
<br> (match result<br>  =
; [($ test-failure case result)<br> &nbs=
p; (add-failure! count)]<br>  =
; [($ test-error case result)<br> =
(add-error! count)]<br> &nb=
sp; [($ test-success case result)<br> &n=
bsp; (add-success! count)])) =
; used to be &nbs=
p; (print-success case result)]))
<br><br><br>That seems to have done the trick.<br><br>-pp<br><br>ps: I real=
ly SchemeUnit thanks for sharing.<br><br><br><br><br><br><br><div><span cla=
ss=3D"gmail_quote">On 2/10/06, <b class=3D"gmail_sendername"><a href=3D"mai=
lto:schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">
schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a></b> <<a href=3D=
"mailto:schematics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">schematics-de=
velopment-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a>> wrote:</span><blockquote cl=
ass=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); mar=
gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send Schematics-development mailing list submissions to<br> &nbs=
p; <a href=3D"mailto:schematics-development@li=
sts.sourceforge.net">schematics-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br><b=
r>To subscribe or unsubscribe via the World Wide Web, visit
<br> <a href=3D"https://list=
s.sourceforge.net/lists/listinfo/schematics-development">https://lists.sour=
ceforge.net/lists/listinfo/schematics-development</a><br>or, via email, sen=
d a message with subject or body 'help' to
<br> <a href=3D"mailto:schem=
atics-development-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">schematics-development-req=
[email protected]</a><br><br>You can reach the person managing the=
list at<br> <a href=3D"mail=
to:schematics-development-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org">
schematics-development-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br><br>When replying=
, please edit your Subject line so it is more specific<br>than "Re: Co=
ntents of Schematics-development digest..."<br><br><br>Today's Topics:
<br><br> 1. Re: Fixing compilation of SchemeUnit (Noel Welsh)<b=
r><br>--__--__--<br><br>Message: 1<br>Date: Thu, 9 Feb 2006 09:37:45 -0800 =
(PST)<br>From: Noel Welsh <<a href=3D"mailto:noelwelsh-/[email protected]">noelwe=
lsh-/[email protected]
</a>><br>Subject: Re: [Schematics-development] Fixing compilation of Sch=
emeUnit<br>To: Ryan Culpepper <<a href=3D"mailto:[email protected]">ryan=
[email protected]</a>><br>Cc: <a href=3D"mailto:schematics-development@lists=
.sourceforge.net">
schematics-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br><br>--- Ryan Culpepper =
<<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<b=
r><br><br>> I just put out a new planet package based on the CVS<br>>=
code. It contains a
<br>> couple macro bug fixes, a couple gui display<br>> improvements,=
and maybe a<br>> fix to the Windows bug (depending on whether paths are=
<br>> considered 3D<br>> syntax and depending on how mzscheme loads f=
iles).
<br><br>Thanks dude. My plan was fix it with a new version (i.e.=
<br>3.0) but this is a useful intermediate step.<br><br>N.<br><br>Email: no=
elwelsh <at> yahoo <dot> com noel <at> untype=
d <dot> com
<br>AIM: noelhwelsh<br>Blogs: <a href=3D"http://monospaced.blogspot.com/">h=
ttp://monospaced.blogspot.com/</a> <a href=3D"http://www.untyped=
.com/untyping/">http://www.untyped.com/untyping/</a><br><br>_______________=
___________________________________
<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best sp=
am protection around<br><a href=3D"http://mail.yahoo.com">http://mail.yahoo=
.com</a><br><br><br><br>--__--__--<br><br>_________________________________=
______________
<br>Schematics-development mailing list<br><a href=3D"mailto:Schematics-dev=
[email protected]">Schematics-development-5NWGOfrQmneRv+LV9MX5uv+2+P5yyue3@public.gmane.org=
t</a><br><a href=3D"https://lists.sourceforge.net/lists/listinfo/schematics=
-development">
https://lists.sourceforge.net/lists/listinfo/schematics-development</a><br>=
<br><br>End of Schematics-development Digest<br></blockquote></div><br>
------=_Part_23836_5797029.1139594864189--
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642