>
> 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)
>

You have multiple python installation. You should install depencies
manually, by selecting the python version you want (that is: python2.5).
Download sources, or select appropriate package for pysvn. Installing from
sources gives:

    python2.5 setup.py install

(specify the python interpreter with its version).


This is not only related to jallib. When you have multiple python
installation, it's a good practice to know exactly which lib is installed
for which python (thus, doing it manually can help).



> 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.
>

Great !


>
> Should I commit it? Should I generate HTML code and put it on the Wiki?
>

You should just commit the matrix file. For now, I'll generate html pages,
then I'll write some doc. Priority now is to collect data, that is, test
results.

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?
>

Wanna see how it looks ?

    jallib test -1 -G testing_matrix.tmpl -g test_results.tmpl -o
path/to/file.html

Will generate:
 * a html matrix (-G)
 * test page for each PIC (-g)
 * only for PIC which have at least one successful test (-1)
 * the matrix will be stored in "path/to/file.html", test page for PIC in
directory "path/to", something like "test_16f877a.html"


Should I repeat this for all other samples that work? Before or after
> buildbot gives the OK? If after, can buildbot do it?
>

Yes and no:

 * yes: you must register result for each PIC, as you do: "jallib test -a
..."
 * no: generating html pages is working on the whole matrix

Bot's checks is independent IMHO. At least, for validating step (I guess I
won't be able to test a sample if it doesn't compile). So, the sample can be
JSG not compliant, still working nice. But I guess a good practive is to
perform  and register test once the file is JSG compliant.


>
> Why should humans add to the Matrix? Machines can do it so much better.
>

Machines can't know if the sample works...


Seb
-- 
Sébastien Lelong
http://www.sirloon.net
http://sirbot.org

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to