bzr selftest --exclude options should be ORd

Bug #746991 reported by Martin Pool
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Medium
Vincent Ladeuil

Bug Description

$ ./bzr --no-plugins selftest -1 -x breakin -x test_external_diff

seems to allow tests that have either of those terms in their name. To get the desired effect you have to instead say

  bzr --no-plugins selftest -1 -x '(breakin|test_external_diff)'

Tags: easy selftest

Related branches

Revision history for this message
Vincent Ladeuil (vila) wrote :

I fall in this trap again :-/

Revision history for this message
Vincent Ladeuil (vila) wrote :

More precisely, the issue here is that --exclude is a simple string option so specifying more than once... only takes the later into account.

Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
Vincent Ladeuil (vila)
Changed in bzr:
status: Confirmed → In Progress
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.4b4
status: In Progress → Fix Released
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.