Fix an issue on running subset of tests
It broke after the switching to stestr [1] since stestr doesn't have the --regex arguments. [1] https://review.openstack.org/#/c/571471/ Change-Id: Ied13d3c370bba2a18cd54edae0dc80050e87f07e Closes-Bug: #1800387
This commit is contained in:
parent
c4fd9bfef9
commit
755e7c0c48
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# preserve old behavior of using an arg as a regex when '--' is not present
|
||||
case $@ in
|
||||
(*--*) stestr run $@;;
|
||||
('') stestr run;;
|
||||
(*) stestr run --regex "$@"
|
||||
esac
|
Loading…
Reference in New Issue