3 Nov 2008 08:18
12 Nov 2008 22:23
[Fwd: Automated testing]
-------- Original Message -------- Subject: Automated testing Date: Sun, 9 Nov 2008 11:38:17 +0100 From: Bart Janssens <barche@...> Reply-To: google-summer-of-code-mentors-list@... To: google-summer-of-code-mentors-list@... Hi all, At the end of the summit, there was a small session (only 3 people) on distributed testing, organized by Matt Benjamin from OpenAFS. Since only so few people attended, I would like to draw your attention to the session notes at https://gsoc-wiki.osuosl.org/index.php/Distributed_Testing--How_Does_Your_Project_Do_It Especially check out the links to CMake, as this is something that could benefit any project, I think. CMake and it's associated testing framework CTest have been a great help in improving the stability and portability of K-3D. Cheers, -- -- Bart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Summer of Code Mentors List" group.(Continue reading)
13 Nov 2008 03:00
CLAM & Testfarm: some comments and questions
Hernán Ordiales <h <at> ordia.com.ar>
2008-11-13 02:00:45 GMT
2008-11-13 02:00:45 GMT
hi all, i'm back after the mentor summit where i had the opportunity to meet david (finally not also parumi, what a pity!) Trying to get a testfarm client working i noticed some things. I got it working locally but i'd like to send the data to the main testfarm server, specially to test some pyclam related things. First, i'm not sure if it's possible to connect to the server beyond the LAN where it is, is possible? which url should i use? i tried many ones with no success (http://clam.iua.upf.edu/testfarm/, some IP based from scripts, etc) About the client example in the repo, seems the script is hardcoded to look for testfarm in ~/testfarm/src, so why not look for it in the standard installed path? To achieve this i had to import, after installing it with 'sudo python install.py' of course, in this way (i'm sending the patch as an atachment) from testfarm.task import * from testfarm.project import Project from testfarm.client import Client from testfarm.runner import Runner I had to comment the line 'from commands import getoutput' because i couldn't find the 'commands' module in any place (neither testfarm nor clam repo) i also had to comment the 'first_run_always = False' line at the end of the script to get it working(Continue reading)
14 Nov 2008 16:22
Re: CLAM & Testfarm: some comments and questions
El dj 13 de 11 de 2008 a les 00:00 -0200, en/na Hernán Ordiales va escriure: > hi all, i'm back after the mentor summit where i had the opportunity > to meet david (finally not also parumi, what a pity!) > > Trying to get a testfarm client working i noticed some things. I got > it working locally but i'd like to send the data to the main testfarm > server, specially to test some pyclam related things. > > First, i'm not sure if it's possible to connect to the server beyond > the LAN where it is, is possible? which url should i use? i tried many > ones with no success (http://clam.iua.upf.edu/testfarm/, some IP based > from scripts, etc) Try this: remote_server_url = 'http://ocata48123.upf.es/testfarm_server' > About the client example in the repo, seems the script is hardcoded to > look for testfarm in ~/testfarm/src, so why not look for it in the > standard installed path? > > To achieve this i had to import, after installing it with 'sudo python > install.py' of course, in this way (i'm sending the patch as an > atachment) > from testfarm.task import * > from testfarm.project import Project > from testfarm.client import Client > from testfarm.runner import Runner > > I had to comment the line 'from commands import getoutput' because i(Continue reading)
14 Nov 2008 18:42
Re: CLAM & Testfarm: some comments and questions
Hernan, this is the output I get. What packages do I have to install --
or there is install doc already?
Thanks
P
> If someone wants to test pyclam, these are the tasks you need to add
> to the testfarm client:
>
> clam.add_subtask('pyCLAM update', [
> 'cd %(sandbox)s/CLAM/pyclam'%localDefinitions,
> {CMD:'svn log -r BASE:HEAD', INFO: lambda x:x },
> './generate_bindings.py && scons',
> ] )
OUTPUT: Traceback (most recent call last): File
"./generate_bindings.py", line 19, in from pyplusplus import
module_builder ImportErro
[display more...]r: No module named pyplusplus
14 Nov 2008 18:49
Re: CLAM & Testfarm: some comments and questions
Hernán Ordiales <h <at> ordia.com.ar>
2008-11-14 17:49:01 GMT
2008-11-14 17:49:01 GMT
On Fri, Nov 14, 2008 at 12:22 PM, Pau Arumí <parumi@...> wrote: > El dj 13 de 11 de 2008 a les 00:00 -0200, en/na Hernán Ordiales va > escriure: >> hi all, i'm back after the mentor summit where i had the opportunity >> to meet david (finally not also parumi, what a pity!) >> >> Trying to get a testfarm client working i noticed some things. I got >> it working locally but i'd like to send the data to the main testfarm >> server, specially to test some pyclam related things. >> >> First, i'm not sure if it's possible to connect to the server beyond >> the LAN where it is, is possible? which url should i use? i tried many >> ones with no success (http://clam.iua.upf.edu/testfarm/, some IP based >> from scripts, etc) > > Try this: > remote_server_url = 'http://ocata48123.upf.es/testfarm_server' i'm getting this error, the same than with previous attempts, i forgot to mention. That's why i asked if it is possible or not <HTML><HEAD> <TITLE>Access Denied</TITLE> </HEAD> <BODY> <FONT face="Helvetica"> <big><strong></strong></big><BR> </FONT> <blockquote> <TABLE border=0 cellPadding=1 width="80%">(Continue reading)
14 Nov 2008 18:53
Re: CLAM & Testfarm: some comments and questions
Hernán Ordiales <h <at> ordia.com.ar>
2008-11-14 17:53:06 GMT
2008-11-14 17:53:06 GMT
On Fri, Nov 14, 2008 at 2:42 PM, Pau Arumí <parumi@...> wrote: > Hernan, this is the output I get. What packages do I have to install -- > or there is install doc already? yep http://iua-share.upf.edu/svn/clam/trunk/CLAM/pyclam/INSTALL === Tools (assuming a working clam dev environment) === # Install Boost.Python. At debian based distros packages named libboost-python-dev and libboost-python1.34.1 # Download and install[1] Py++ (no package available, at least at standard ubuntu repos) Download Py++-0.9.5.zip from https://sourceforge.net/project/showfiles.php?group_id=118209&package_id=157697 and execute 'sudo python setup.py install' ##* Enable indexing suite version v2: PYPLUSPLUS='Py++-0.9.5/indexing_suite_v2/indexing' BOOST_INDEXING='/usr/include/boost/python/suite/indexing' sudo cp $PYPLUSPLUS/* $BOOST_INDEXING/ # (optional [1]) Get gccxml version 0.9 (Warning: standard debian package at repos usually is about 0.7). I took it from here: http://ftp.zcu.cz/pub/linux/debian/pool/main/g/gccxml/gccxml_0.9.0+cvs20080525-1_i386.deb, the option is compile it from CVS. Note: I experienced some problems with the very last CVS version, the one from 20080525 is preferred. # (optional [1]) Download and install pygccxml[1] (no package available, at least at standard ubuntu repos): Download pygccxml-0.9.5.zip from http://sourceforge.net/project/showfiles.php?group_id=118209&package_id=146545 and execute 'sudo python setup.py install'(Continue reading)
14 Nov 2008 19:08
Re: CLAM & Testfarm: some comments and questions
Hernán Ordiales <h <at> ordia.com.ar>
2008-11-14 18:08:32 GMT
2008-11-14 18:08:32 GMT
On Fri, Nov 14, 2008 at 2:53 PM, Hernán Ordiales <h <at> ordia.com.ar> wrote: [snip] > [1] Only needed for bindings regeneration. Not for compiling. One clarification about this. At first this was true since i was uploading all the py++ output ready to be compiled. But then, after adding more features and classes, things started to get a bit more complex and long and i splitted the output in many files (also best to improve the compiling time), so someones are always parsed and (re)generated by py++ and others are generated manually (the files/classes that no works from scratch with the py++ script)[1]. So by now and till all gets stable all dependencies are needed[2] [1] more info about this at CLAM/pyclam/src/* [2] i mean, if all gets stable i can upload all the generated files to the repo to avoid bindings generation dependencies -- -- Hernán http://h.ordia.com.ar GnuPG: 0xEE8A3FE9
24 Nov 2008 16:41
Versioned networks
In order to make upgrades in the proper way, i just have added a 'clamVersion'
attribute to the network xml that holds the major and minor version ("1.3"
for 1.3.1~svn2434). This way the upgrade scripts can take it into account.
For the first release, networks without the version will be silently loaded
and when saving the version will be added. On future versions i plan to
complaint (suggesting to apply an upgrade script), and eventually upgrading
automatically.
Sorry for the reds while i was commiting that.
David.
26 Nov 2008 10:58
control init param 'published' and MIDIKeyboard
I am doing some simplifications on the control constructor parameters to see whether an alternative solution for callback controls fits. Some of the last commits i did were related to remove the 'published' parameter for InControls constructor. When false, the parameter made the control no to be registered in the container processing even if you specify one. It was true by default and just one class set it to false MIDIKeyboard, not event the tests. The problem is that I don't even understand how such class MIDIKeyboard should be used as it does a weird use of controls. By now what I did is just not providing a parent processing so that it is not published. I would thank any clarification from the authors if they are still around. -- -- David García Garzón (Work) dgarcia at iua dot upf anotherdot es http://www.iua.upf.edu/~dgarcia

RSS Feed