[enhancement] In the tests make it possible to get a DefaultConfiguration initialized from the command line
Bug #1316987 reported by
Alan Griffiths
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mir |
Fix Released
|
Wishlist
|
Josh Arenson | ||
mir (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
stubbed_
But we're now writing tests that don't stub the configuration (e.g. https:/
Related branches
lp:~josharenson/mir/command_line_config
- Alberto Aguirre (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
- Alan Griffiths: Approve
-
Diff: 164 lines (+97/-18)4 files modifiedinclude/test/mir_test_framework/command_line_server_configuration.h (+38/-0)
tests/mir_test_framework/CMakeLists.txt (+1/-0)
tests/mir_test_framework/command_line_server_configuration.cpp (+56/-0)
tests/mir_test_framework/stubbed_server_configuration.cpp (+2/-18)
Changed in mir: | |
assignee: | nobody → Josh Arenson (josharenson) |
Changed in mir: | |
status: | New → Confirmed |
Changed in mir: | |
importance: | Undecided → Wishlist |
tags: | added: enhancement |
Changed in mir: | |
status: | Confirmed → In Progress |
Changed in mir: | |
milestone: | none → 0.2.0 |
Changed in mir: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Note that the above MP dummies out the command line:
93 +char const* dummy[] = {0};
94 +int argc = 0;
95 +char const** argv = dummy;
This is a bit unsatisfactory as it means that configuring the Mir server can't be done on the command line as is possible with other tests. When we fix the bug we should fix the test too.