On 20 Nov 2008, at 11:25 , Sebastien Lelong wrote:
> Maybe try with python 2.5, if you can.
I did. It works. (compiling via jallib.sh)
Specific question:
I'm in the /by_device/16f87a directory. I've edited, compiled,
flashed, tested and approved sample_rtc_lcd.jal.
How do I add this to the matrix?
> G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$
> ~/jalv2/jallib/tools/jallib test -a 16f877a:sample_rtc_lcd.jal:true
> You can't use this action, because yaml is not installed
Sigh. Back to 2.4 then. (compiling via jallib.sh is now broken again)
> G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$
> ~/jalv2/jallib/tools/jallib test -a 16f877a:sample_rtc_lcd.jal:true
> You don't have pysvn installed, you need to specify the revision
> <pic>:<testfile>:<true|false|null>@<revision
OK.
> G5-fiwihex:~/jalv2/jallib/tools eur$ sudo port install py-svn
> ---> Fetching py-svn
> [..]
> ---> Installing py-svn 1.5.1_0
> ---> Activating py-svn 1.5.1_0
> ---> Cleaning py-svn
> ~/jalv2/jallib/tools/jallib test -a 16f877a:sample_rtc_lcd.jal:true
> Update 'sample_rtc_lcd.jal' result for PIC 16f877a: {'pass': None,
> 'revision': None} => {'revision': 587, 'pass': True}
I did something! But what? Can I see a result somewhere?
> G5-fiwihex:~/jalv2/jallib eur$ svn status
> M unvalidated/sample/testing_matrix.yaml
Did I do that?
> G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$
> ~/jalv2/jallib/tools/jallib test -p 16f877a
> samples:
> hello_world_lcd.jal : True
> [...]
> sample_rtc_lcd.jal : True
It looks like I did.
Should I commit it? Should I generate HTML code and put it on the Wiki?
> G5-fiwihex:~/jalv2/jallib/unvalidated/sample/by_device/16f877a eur$
> ~/jalv2/jallib/tools/jallib test -p 16f877a -g ~/jalv2/jallib/tools/
> testing_matrix.tmpl
> Traceback (most recent call last):
> File "/Users/eur/jalv2/jallib/tools/jallib.py", line 1231, in ?
> callme(action_args)
> File "/Users/eur/jalv2/jallib/tools/jallib.py", line 534, in do_test
> html_file = ".".join(tmpl_file.split(".")[:-1]) + ".html"
> AttributeError: 'NoneType' object has no attribute 'split'
If so, how?
Should I repeat this for all other samples that work? Before or after
buildbot gives the OK? If after, can buildbot do it?
Why should humans add to the Matrix? Machines can do it so much better.
---
ir EE van Andel [EMAIL PROTECTED] http://www.fiwihex.nl
Fiwihex B.V. Wierdensestraat 74, NL7604BK Almelo, Netherlands
tel+31-546-491106 fax+31-546-491107
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---