dbqp.py --suite option should handle comma-separated list

Bug #708879 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
Low
Patrick Crews
7.0
Fix Released
Low
Patrick Crews

Bug Description

currently, dbqp.py requires on --suite=ARG for each suite we want to run.

For convenience and matching test-run.pl, we should allow a comma-separated list for a single --suite value

Related branches

Changed in drizzle:
importance: Undecided → Low
milestone: none → 2011-01-31
assignee: nobody → Patrick Crews (patrick-crews)
status: New → Confirmed
Revision history for this message
Patrick Crews (patrick-crews) wrote :

Wrote updates to option parser to allow for comma separated lists of suites as argument to --suite. Additional --suite arguments appends the values to previously encountered --suite values.

./dbqp.py --suite=main, regression --suite=csv, catalog

would result in all 4 suites being run.

Changed in drizzle:
status: Confirmed → Fix Committed
Revision history for this message
Patrick Crews (patrick-crews) wrote :

NOTE: You *cannot* have spaces in-between suites in the comma-separated list - this is a weakness in python's optparse module. If the args are passed as --suite=main,regression,etc,etc things are fine.

This will be documented.

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.