Merge lp:~andreas-pokorny/qtmir/devel-mir-next-avoid-empty-cmdline-params into lp:qtmir/devel-mir-next
Proposed by
Andreas Pokorny
Status: | Merged |
---|---|
Approved by: | Alberto Aguirre |
Approved revision: | 290 |
Merged at revision: | 289 |
Proposed branch: | lp:~andreas-pokorny/qtmir/devel-mir-next-avoid-empty-cmdline-params |
Merge into: | lp:qtmir/devel-mir-next |
Diff against target: |
18 lines (+4/-1) 1 file modified
tests/modules/common/qtmir_test.h (+4/-1) |
To merge this branch: | bzr merge lp:~andreas-pokorny/qtmir/devel-mir-next-avoid-empty-cmdline-params |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alan Griffiths | Approve | ||
Review via email: mp+266234@code.launchpad.net |
Commit message
tests: pass an aribtrary application name to MirServer
Preparation for 0.15.
Description of the change
Since 0.14 mir evaluates the application name by accessing args[0]. To unblock the release 0.14 accepted invalid command line arguments. This is not the case on lp:mir or the upcoming 0.15 release.
To post a comment you must log in.
Well, this likely works but argv is /supposed/ to be NULL terminated. Something like:
namespace { char const* const argv[] = { "qtmir-test", nullptr }; }