Hi, I've added a new feature in the wrapper, that we discussed, mainly Joep and I, some weeks ago. This feature is quite simple: given a board file and a test file, you can regenerate a ready-to-compile sample.
Ex: $ cd unvalidated/sample/test $ jallib sample -b board/board_16f88_js.jal -t \ external/lcd/test_lcd_hd44780_4.jal -o a_fresh_sample.jal How does this work ? Joep defined special tags into the board file to identify sections. Ex: "@jallib section chipdef". The test file, on the other side, declares which section it needs. Ex: "@jallib use chipdef". The wrapper just glue the whole to create a ready-to-compile sample. For now, only these 2 files given as example are annotated. Writing new test would be as easy as declaring which section the test needs (potentially add a new one in board files), and write the test logic. Things to do, now * collecting feedback from you, guys * auto-generate plenty of samples, and save them in the correct location. Board + file = sample. If it compiles, keep, else skip * if we use this, I'll remove tests (exploring and discover which test goes with which chip, etc...) from the testing_matrix and only keep samples in it. This will simplify a lot. With such a tool, people could even regenerate all the samples for their own chips, with their own pin definitions, xtal speed, etc... We could even write a web app collecting what the user's preferences, and finally serving a zip file containing all his samples, ready-to-compile :) Quite easy to do, and maybe usefull ! Waiting for your feedback. PS: I'll probably re-integrate the "sample" action into "test", to be more consistent. So you'll have to type "jallib test ...." instead of "jallib sample ...." Cheers, 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 -~----------~----~----~----~------~----~------~--~---
