[DRE-maint] Running tests via setup.rb, or in the CDBS class?
Gunnar Wolf
gwolf at gwolf.org
Thu Nov 8 18:00:29 UTC 2007
Gunnar Wolf dijo [Thu, Nov 08, 2007 at 11:53:58AM -0600]:
> Hi again,
>
> I'm still working on this libgruff-ruby thingy. It contains a battery
> of test cases, but they are not being run - Setup.rb knows about them
> (as documented in [1]), but does not run them. In order to run them, I
> basically did:
>
> $ mkdir test/output
> $ for i in test/*; do ruby $i; done
> $ rm -rf test/output
>
> But, of course, this does not look beautiful enough to be included in
> my debian/rules... What do you suggest?
Bah... Just update setup.rb :) From its changelog [1], task 'test' was
added on 3.4.0 (2005-09-25).
[1] http://i.loveruby.net/en/projects/setup/doc/news.html
--
Gunnar Wolf - gwolf at gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF
More information about the Pkg-ruby-extras-maintainers
mailing list