run-tests: partial matching does not work for run_django_tests
Bug #1285647 reported by
Evan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu CI Engine |
Fix Released
|
Low
|
Vincent Ladeuil |
Bug Description
It's currently not possible to run just the ppa-assigner or ticket_system tests using ./run-tests. This is because it doesn't go through the same globbing/filtering routine as the other tests.
Related branches
lp:~vila/uci-engine/1285647-fullpath-test-ids
- Celso Providelo (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 230 lines (+136/-7)3 files modifiedREADME (+36/-1)
testing/run_tests.py (+43/-6)
testing/test_run_tests.py (+57/-0)
Changed in ubuntu-ci-services-itself: | |
assignee: | nobody → Vincent Ladeuil (vila) |
importance: | Undecided → Low |
tags: | added: airline |
Changed in uci-engine: | |
assignee: | nobody → Vincent Ladeuil (vila) |
importance: | Undecided → Low |
status: | New → Incomplete |
no longer affects: | ubuntu-ci-services-itself |
Changed in uci-engine: | |
status: | Incomplete → In Progress |
milestone: | none → uce-0 |
Changed in uci-engine: | |
status: | In Progress → Fix Committed |
Changed in uci-engine: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
AFAICS it does go to the same filtering:
$ ./run-tests ppa_assigner --list
ppa_assigner. tests.TestApi. testCopy tests.TestApi. testCopyBadPara ms tests.TestApi. testFreeNumeric tests.TestApi. testFreeString tests.TestApi. testGetAll tests.TestApi. testGetQuery tests.TestApi. testJSONP tests.TestApi. testPopulateFai l tests.TestApi. testPopulateMer ge tests.TestApi. testReserve tests.TestApi. testReserveNoFr ee tests.TestApi. testStatus tests.TestClean er.testCleaning tests.TestClean er.testCleaning Failure tests.TestClean er.testDirtyToC lean tests.TestClean er.testDirtyToC leanFailure tests.TestConcu rrency. testReserveConc urrency tests.TestModel .testReserveNoF ree tests.TestModel .testReserveTim estamp tests.TestPep8. test_pep8_ conformance tests.TestPyfla kes.test_ pyflakes_ conformance
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
ppa_assigner.
When in doubt about which regexp to use to filter, try:
$ ./run-tests --list
the ticket system test IDs starts with 'ticket' and 'project'