Files
deb-networking-cisco/tools/pretty_tox.sh
Henry Gessau 5542c7c042 Initial changes to get environment working.
This patch makes some changes to get the development and test environment
useable.

 - Strip down setup.cfg leaving only what is needed for this repo
 - Minimize [test-]requirements.txt (copied from networking-odl)
 - Tweaked tox environments for this repo
 - Copy etc/policy.json from neutron (needed by unit tests)

There are six unit test cases that fail. The cause is obscure and will take
some effort to diagnose. Skipping them for now and opened bug 1416859 to
address the issue.

Change-Id: Ia4a601d1afa4ed37cb30ba5b9e33ad23104089c1
2015-02-02 10:46:25 -05:00

7 lines
181 B
Bash
Executable File

#! /bin/sh
TESTRARGS=$1
exec 3>&1
status=$(exec 4>&1 >&3; ( python setup.py testr --slowest --testr-args="--subunit $TESTRARGS"; echo $? >&4 ) | subunit-trace -f) && exit $status