Code review comment for lp:~dpm/ubuntu-filemanager-app/run-ap-from-out-of-source-build

Revision history for this message
Leo Arias (elopio) wrote :

> The issue with an argument is that is less automated (i.e. with this branch I
> can just run autopilot with the right build dir being auto-detected, whereas
> with an argument I'd have to look for the build dir and pass it to AP).

What I think is that we shouldn't call autopilot run directly if we are developing the app. IMO, we should call the cmake autopilot tasks.
I'm also thinking about more complex scenarios that need to start fake servers or set up fake services. For example, on the click scope we run:
make test-click-scope-autopilot-fake-servers
And it takes care of passing the right variables to the scripts to find the compiled scope and to set the right addresses for the servers.

« Back to merge proposal