Make placement testing easier on osx
Placement can run just fine on OSX but running the tests can be a bit cumbersome since dev libraries for ssl, postresql, and mysql are required (directly or indirectly) by test-requirements.txt, even though for non-gate testing we don't usually need them, and dealing with dynamic libraries is a frequent source of pain and discomfort on OSX. This change says "don't import SQL drivers for mysql and postgresql when testing on darwin". Change-Id: Ic0ff55f00e0312251207fd079cf7b7e98d950c87
This commit is contained in:
parent
3ba36fb717
commit
baaaff17b5
@ -6,8 +6,8 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
|
||||
coverage!=4.4,>=4.0 # Apache-2.0
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
mock>=2.0.0 # BSD
|
||||
psycopg2>=2.6.2 # LGPL/ZPL
|
||||
PyMySQL>=0.7.6 # MIT License
|
||||
psycopg2>=2.6.2; sys_platform!='darwin' # LGPL/ZPL
|
||||
PyMySQL>=0.7.6; sys_platform!='darwin' # MIT License
|
||||
oslotest>=3.4.0 # Apache-2.0
|
||||
stestr>=1.0.0 # Apache-2.0
|
||||
testtools>=2.2.0 # MIT
|
||||
|
Loading…
Reference in New Issue
Block a user