No exclude option to skip tests in run_tests.sh
Bug #1065758 reported by
Gerardo Porras
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Gerardo Porras | ||
Folsom |
Fix Released
|
Low
|
Gerardo Porras | ||
Grizzly |
Fix Released
|
Low
|
Gerardo Porras | ||
glance (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Please add the noseopts to the run_tests.sh so we can exclude tests, same as keystone does
addin the following line to the process_option function
-*) noseopts="$noseopts $1";;
And
NOSETESTS=
Related branches
lp://staging/~gandelman-a/ubuntu/quantal/glance/2012.2.1
- Openstack Ubuntu Testers: Pending requested
-
Diff: 86 lines (+55/-2)2 files modifieddebian/changelog (+53/-1)
debian/control (+2/-1)
CVE References
Changed in glance: | |
importance: | Undecided → Low |
Changed in glance: | |
milestone: | none → grizzly-1 |
status: | Fix Committed → Fix Released |
Changed in glance (Ubuntu): | |
status: | New → Fix Released |
Changed in glance (Ubuntu Quantal): | |
status: | New → Confirmed |
tags: | removed: in-stable-folsom |
To post a comment you must log in.
diff --git a/run_tests.sh b/run_tests.sh unittests- only) noseargs="$noseargs --exclude- dir=glance/ tests/functiona l";; package= glance" ;;
index 6812a8f..d7759a8 100755
--- a/run_tests.sh
+++ b/run_tests.sh
@@ -26,6 +26,7 @@ function process_option {
-f|--force) let force=1;;
--
-c|--coverage) noseargs="$noseargs --with-coverage --cover-
+ -*) noseopts="$noseopts $1";;
*) noseargs="$noseargs $1"
esac
}
@@ -67,7 +68,7 @@ function run_pep8 {
}
-NOSETESTS= "nosetests $noseargs" "nosetests $noseopts $noseargs"
+NOSETESTS=
if [ $never_venv -eq 0 ]
then