run_tests.sh broken on mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Doug Wiegley |
Bug Description
(Please assign this to me, as I have https:/
$ ./run_tests.sh
grep: repetition-operator operand invalid
usage: dirname path
Running `tools/with_venv.sh python -m neutron.
Traceback (most recent call last):
File "/usr/local/
"__main__", fname, loader, pkg_name)
File "/usr/local/
exec code in run_globals
File "/Users/
from neutron.
File "neutron/
from oslo.utils import excutils
ImportError: No module named utils
-------
Ran 0 tests in 0.000s
OK
Running flake8 ...
Changed in neutron: | |
assignee: | nobody → Doug Wiegley (dougwig) |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Medium |
milestone: | none → kilo-1 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | kilo-1 → 2015.1.0 |
Reviewed: https:/ /review. openstack. org/106237 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5a438746580 f5f626ddaf74390 5a91292cb3aa71
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5a438746580f5f6 26ddaf743905a91 292cb3aa71
Author: Doug Wiegley <email address hidden>
Date: Thu Jul 10 20:44:21 2014 -0600
run_tests.sh OS X script fixes
On OS X, '*' is not a valid grep modified for '[^[:space:]:]', nor is it
necessary when the lines being checked against must be prefixed with
neutron.tests.
Also, dirname was being called with an empty var, without quoting, resulting
in usage errors.
Closes-Bug: 1391858
Change-Id: I34ab0625a00809 f68b7a44cb3a175 a57ba0bd6d5