no easy way to run some tests

Bug #374814 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Medium
Unassigned

Bug Description

It would be great to be able to say
make check SUITES=foo,bar

(because dtr requires a bunch of options to DTRT).

 affects drizzle

Revision history for this message
Jay Pipes (jaypipes) wrote :

Hi! Generally, make check does not take options per-se... You could, however, do make test-foo, where that make command corresponds to a specific set of suites (there are already a few of those in the main Makefile.am)

Also, what is a "bunch of options" for dtr? To run foo and bar suites, one should only have to do this:

cd tests && ./dtr --suite=foo,bar

Changed in drizzle:
status: New → Incomplete
Revision history for this message
Lee Bieber (kalebral-deactivatedaccount) wrote :

I've added a "make test-all" target which runs all test suites and can be modified by specifying a comma separated list of suites in the $(ALL_TESTS) macro. For now you need to cd to the tests directory to run this target

PLUGIN_TESTS = crc32,csv,hello_world,md5
ALL_TESTS = main,big,$(PLUGIN_TESTS)

Changed in drizzle:
assignee: nobody → Lee Bieber (kalebral)
importance: Undecided → Medium
milestone: none → aloha
status: Incomplete → Fix Committed
Changed in drizzle:
status: Fix Committed → Fix Released
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 374814] Re: no easy way to run some tests

On Wed, 2009-05-20 at 19:15 +0000, Lee Bieber wrote:
> I've added a "make test-all" target which runs all test suites and can
> be modified by specifying a comma separated list of suites in the
> $(ALL_TESTS) macro. For now you need to cd to the tests directory to run
> this target
>
> PLUGIN_TESTS = crc32,csv,hello_world,md5
> ALL_TESTS = main,big,$(PLUGIN_TESTS)

Thanks, that looks good.
@jay re options to dtr, I was looking at Makefile{.am,in,} where many
options are passed to dtr - and on my system at least, not passing all
of the results in dtr crashing.

-Rob

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.