* Guile test libraries, regression testing and `make check'
@ 2005-11-21 21:26 Michael J. Barillier
2005-11-24 10:46 ` Thien-Thi Nguyen
2005-12-03 20:21 ` Neil Jerram
0 siblings, 2 replies; 5+ messages in thread
From: Michael J. Barillier @ 2005-11-21 21:26 UTC (permalink / raw)
The Guile source distribution has a test-suite directory that contains a
script and library with procedures for running tests on the Guile
library and REPL when `make check' is invoked. Googling the web I found
a v1.4 Guile manual
<http://www.glug.org/docbits/guile/1.4.x/POSIX-Style-Testing.html> that
at least implied this code was in ice-9 at some point but it's not there
now. Why was it removed? And, is there a suitable replacement so that
a ``pragmatically efficient'' (i.e. lazy) hacker can quickly and easily
create a test suite for a Guile library that runs under automake's
`check' target? IMHO putting the code back in the set of installed
files, or alternatively creating something like a `guile-test-suite'
package, would be beneficial.
thx -
--
Michael J. Barillier /// http://www.blackwolfinfosys.net/~blackwolf/
.O. | Vin: You elected?
..O | Chris: No - I got nominated real good.
OOO | -- _The Magnificent Seven_
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile test libraries, regression testing and `make check'
2005-11-21 21:26 Guile test libraries, regression testing and `make check' Michael J. Barillier
@ 2005-11-24 10:46 ` Thien-Thi Nguyen
2005-12-03 20:21 ` Neil Jerram
1 sibling, 0 replies; 5+ messages in thread
From: Thien-Thi Nguyen @ 2005-11-24 10:46 UTC (permalink / raw)
Cc: guile-user
From: "Michael J. Barillier" <blackwolf@blackwolfinfosys.net>
Date: Mon, 21 Nov 2005 15:26:53 -0600
is there a suitable replacement so that a ``pragmatically efficient''
(i.e. lazy) hacker can quickly and easily create a test suite for a
Guile library that runs under automake's `check' target?
for example of this usage (congruent w/ automake methodology), see:
http://www.glug.org/people/ttn/software/ps/
http://www.glug.org/people/ttn/software/ps/dist/
specifically the files SETUP.in and Makefile.in in subdir `tests'.
for adding module (ice-9 testing-lib) to guile (other than 1.4.x),
perhaps you can obtain write privs and DTRT. if the official guile
maintainers are unresponsive, you may wish to look at:
http://www.glug.org/people/ttn/software/guile-sdl/GUILE-FIXES
and improve upon that w/in the user community, instead. as a last
resort, you can always bundle the module w/ each package that uses it.
that's a bit uncool, but necessity is a mother...
thi
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile test libraries, regression testing and `make check'
2005-11-21 21:26 Guile test libraries, regression testing and `make check' Michael J. Barillier
2005-11-24 10:46 ` Thien-Thi Nguyen
@ 2005-12-03 20:21 ` Neil Jerram
2005-12-05 18:29 ` Michael J. Barillier
1 sibling, 1 reply; 5+ messages in thread
From: Neil Jerram @ 2005-12-03 20:21 UTC (permalink / raw)
Cc: guile-user
"Michael J. Barillier" <blackwolf@blackwolfinfosys.net> writes:
> The Guile source distribution has a test-suite directory that contains a
> script and library with procedures for running tests on the Guile
> library and REPL when `make check' is invoked.
Yes, indeed.
> Googling the web I found
> a v1.4 Guile manual
> <http://www.glug.org/docbits/guile/1.4.x/POSIX-Style-Testing.html> that
> at least implied this code was in ice-9 at some point but it's not there
> now. Why was it removed?
This 1.4.x is an unofficial branch of Guile development that is
increasingly diverging from the official 1.6.x/1.7.x line.
> And, is there a suitable replacement so that a ``pragmatically
> efficient'' (i.e. lazy) hacker can quickly and easily create a test
> suite for a Guile library that runs under automake's `check' target?
> IMHO putting the code back in the set of installed files, or
> alternatively creating something like a `guile-test-suite' package,
> would be beneficial.
That sounds like an excellent idea, but it needs someone to be
slightly non-lazy to work out what is needed. We can trivially change
the distro to install the (test-suite lib) module - would that be a
useful first step, and would you be willing to look into what else is
needed after that?
Regards,
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile test libraries, regression testing and `make check'
2005-12-03 20:21 ` Neil Jerram
@ 2005-12-05 18:29 ` Michael J. Barillier
2005-12-07 19:48 ` Neil Jerram
0 siblings, 1 reply; 5+ messages in thread
From: Michael J. Barillier @ 2005-12-05 18:29 UTC (permalink / raw)
Cc: guile-user
>>>>> "nj" == Neil Jerram <neil@ossau.uklinux.net> writes:
nj> We can trivially change the distro to install the (test-suite
nj> lib) module - would that be a useful first step, and would you
nj> be willing to look into what else is needed after that?
I can take a look at it. From what I'd done to copy (test-suite lib) to
my package for testing, some changes (a few) could be made to support
additional extensibility and flexibility. I'll forward a patch when I
get something that looks promising.
--
Michael J. Barillier /// http://www.blackwolfinfosys.net/~blackwolf/
.O. | ``Experience with many protocols has shown that protocols with
..O | few options tend towards ubiquity, whereas protocols with many
OOO | options tend towards obscurity.'' -- RFC 2821
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Guile test libraries, regression testing and `make check'
2005-12-05 18:29 ` Michael J. Barillier
@ 2005-12-07 19:48 ` Neil Jerram
0 siblings, 0 replies; 5+ messages in thread
From: Neil Jerram @ 2005-12-07 19:48 UTC (permalink / raw)
Cc: guile-user
"Michael J. Barillier" <blackwolf@blackwolfinfosys.net> writes:
>>>>>> "nj" == Neil Jerram <neil@ossau.uklinux.net> writes:
>
> nj> We can trivially change the distro to install the (test-suite
> nj> lib) module - would that be a useful first step, and would you
> nj> be willing to look into what else is needed after that?
>
> I can take a look at it. From what I'd done to copy (test-suite lib) to
> my package for testing, some changes (a few) could be made to support
> additional extensibility and flexibility. I'll forward a patch when I
> get something that looks promising.
That sounds great; thanks in advance for your time.
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-12-07 19:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-21 21:26 Guile test libraries, regression testing and `make check' Michael J. Barillier
2005-11-24 10:46 ` Thien-Thi Nguyen
2005-12-03 20:21 ` Neil Jerram
2005-12-05 18:29 ` Michael J. Barillier
2005-12-07 19:48 ` Neil Jerram
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).