Merge lp:~mandel/ubuntuone-dev-tools/use_correct_reactor into lp:ubuntuone-dev-tools
Proposed by
Manuel de la Peña
on 2010-12-20
| Status: | Merged |
|---|---|
| Approved by: | Manuel de la Peña on 2010-12-20 |
| Approved revision: | 17 |
| Merged at revision: | 17 |
| Proposed branch: | lp:~mandel/ubuntuone-dev-tools/use_correct_reactor |
| Merge into: | lp:ubuntuone-dev-tools |
| Diff against target: |
34 lines (+16/-4) 1 file modified
bin/u1trial (+16/-4) |
| To merge this branch: | bzr merge lp:~mandel/ubuntuone-dev-tools/use_correct_reactor |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Roberto Alsina (community) | Approve on 2010-12-20 | ||
| dobey (community) | 2010-12-20 | Approve on 2010-12-20 | |
|
Review via email:
|
|||
Commit Message
Added code to select the correct reactor according to the platform so that u1trial can be used in platforms that do not have glib by default to fix lp:692507
Description of the Change
Added code to select the correct reactor according to the platform so that u1trial can be used in platforms that do not have glib by default to fix lp:692507
To post a comment you must log in.
lp:~mandel/ubuntuone-dev-tools/use_correct_reactor
updated
on 2010-12-20
- 16. By Manuel de la Peña on 2010-12-20
-
Check if the OS is not windows since on windows we do not have the glib reactor.
- 17. By Manuel de la Peña on 2010-12-20
-
Added darwin to the list of platforms where the glib reactor is not present.
review:
Approve

This is a bit backwards from what is being done in the ubuntuone projects, where dbus is getting used on non-Windows platforms. There will also have to be more work to be able to do this, as tests that use the DBus runner are going to require the glib reactor for doing async calls. So I guess we also need to have some way to check that the reactor and service runners are compatible in some way, otherwise you will get lots of weird errors running the tests on something other than Linux.