[Sugar-devel] test automation
I am keen to explore ways to improve the quality and delivery time of code. Is there any work being done to automate testing of code? We recently had some university students working with us to create an activity [1], and they were using the Robot Framework [2]. Sridhar [1] https://dev.laptop.org.au/issues/634 [2] https://code.google.com/p/robotframework/ Sridhar Dhanapalan Engineering Manager One Laptop per Child Australia ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Measure-42
Activity Homepage: http://activities.sugarlabs.org/addon/4197 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/28144/measure-42.xo Release notes: 42 ENHANCEMENTS: * New translations * Added cavaco (cavaquinho) * Switch to freq. base if harmonics button pushed * Blank trace while playing tone * Define/save/restore custom instruments * Match size of screen capture to size of trace window BUG FIXES: * Add support for old systems that lack subprocess.check_output method * Fixed regression for mode switching when deboucing radio buttons Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Turtle Art-148
Activity Homepage: http://activities.sugarlabs.org/addon/4298 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/28143/turtle_art_mini-148.xo Release notes: 148 Sync with TurtleBlocks v148 ENHANCEMENTS: * Pen/color palette changes: pen operations on one palette, colors on a second palette * Removed bug from all versions * New snail icon * Rabbit and snail change color to indicate run speed * Clicking on a stack respects current run speed * Turtle shape more directional * New copy- and share-block behavior: (1) Click on Copy Button (or Share-Block Button); the cursor changes to a hand pointer; (2) Click on any block or stack of blocks and that stack is briefly highlighted and copied to the clipboard (or shared); (3) The cursor is changed back to the standard cursor. BUG FIX: * Catch unicode error in collaboration code Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Turtle Blocks-148
Activity Homepage: http://activities.sugarlabs.org/addon/4027 Sugar Platform: 0.82 - 0.96 Download Now: http://activities.sugarlabs.org/downloads/file/28142/turtle_art-148.xo Release notes: 148 ENHANCEMENTS: * Pen/color palette changes: pen operations on one palette, colors on a second palette * Removed bug from all versions * New snail icon * Rabbit and snail change color to indicate run speed * Clicking on a stack respects current run speed * Turtle shape more directional * New copy- and share-block behavior: (1) Click on Copy Button (or Share-Block Button); the cursor changes to a hand pointer; (2) Click on any block or stack of blocks and that stack is briefly highlighted and copied to the clipboard (or shared); (3) The cursor is changed back to the standard cursor. BUG FIX: * Catch unicode error in collaboration code Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] compiled to .XO
On Fri, Jun 29, 2012 at 8:48 PM, Mikus Grinbergs wrote: >> We are also able to run the binary, but I am unclear about >> how we would package this into a .xo activity. Any pointers? > > > Am attaching an copy of an email I sent earlier to someone with a question > similar to yours. IMHO that email provides a concise how-to guide to > fashioning a bare-bones .xo package. > > [Obviously, your 'exec' line must be appropriate to your binary.] > > [The example had a library which was explicitly linked-to from within that > binary. If your binary does not need any special library, just leave out > the library part from the attached instructions.] > > [If your binary *does* need to be supplied with a specific library, move > that library into (for example) the subdirectory itself, then add this line > (without the >) before your 'exec' line > > export LD_LIBRARY_PATH=$SUGAR_BUNDLE_PATH/your-library-name > to indicate *where* that library can be accessed.] > > > > To produce the .xo file, just 'pack' the subdirectory you created. > > mikus > Thanks, Mikus. Will take a look. Sameer ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] compiled to .XO
On Fri, Jun 29, 2012 at 7:39 PM, Gonzalo Odiard wrote: > You need do only make (and not make install), > copy the generated binaries in a bin directory inside the activity > directory, > and probably you will need start the acivity with a .sh file and set env > variables. > You can look at the Tuxmath activity as a example. OK. Will take a look. Sameer > > Gonzalo > > > On Fri, Jun 29, 2012 at 10:59 PM, Sameer Verma wrote: >> >> On Fri, Jun 29, 2012 at 5:37 PM, Alan Jhonn Aguiar Schwyn >> wrote: >> > >> > Maybe I don't understand all.. >> > When activity launs, calls a sh with the commands that you need to make >> > the >> > binary. After, only calls the binary and start. >> > >> > Alan >> >> I was thinking about how we would package the binaries, given that the >> .xo activity isn't supposed to install in /usr/local/bin and other >> locations. If we bundle the RPM, the olpc user does not have rights to >> install the binary. >> >> Sameer >> >> > >> >> From: sve...@sfsu.edu >> >> Date: Fri, 29 Jun 2012 17:35:07 -0700 >> >> Subject: compiled to .XO >> >> To: sugar-devel@lists.sugarlabs.org; de...@lists.laptop.org >> > >> >> >> >> We are looking at an app that goes through the classic "./configure, >> >> make, make install" to compile from source. The compile process runs >> >> ok (this is on a XO-1). We are also able to run the binary, but I am >> >> unclear about how we would package this into a .xo activity. Any >> >> pointers? >> >> >> >> cheers, >> >> Sameer >> >> ___ >> >> Devel mailing list >> >> de...@lists.laptop.org >> >> http://lists.laptop.org/listinfo/devel >> ___ >> Sugar-devel mailing list >> Sugar-devel@lists.sugarlabs.org >> http://lists.sugarlabs.org/listinfo/sugar-devel > > ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] getting books and media from the Internet Archive...
Some background here. http://olpcsf.org/node/61 fetch_IA_item script here: https://github.com/rajbot/fetch_ia_item Try it out and see if it breaks. Then fix it or let the author (rku...@archive.org) know :-) cheers, Sameer -- Sameer Verma, Ph.D. Professor, Information Systems San Francisco State University http://verma.sfsu.edu/ http://commons.sfsu.edu/ http://olpcsf.org/ http://olpcjamaica.org.jm/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel