[Sugar-devel] Unit testing an activity
quozl at laptop.org
Thu May 3 21:27:30 EDT 2012
On Thu, May 03, 2012 at 05:14:54PM -0700, Taylor Rose (RIT Student) wrote:
> using sugar-launch, do you think I could get a hold of any output the
> activity writes to stdout?
% cd Activities/Maze.activity
% grep bundle_id activity/activity.info | cut -f2 -d' '
% sugar-launch vu.lux.olpc.Maze
... output appears here.
Also, as Walter says, if you start the activity using the Sugar home
view or list view, output is directed at a log file.
Using sugar-launch is a bit easier because you don't have to guess the
log file name.
More information about the Sugar-devel