On 1 Nov 2008, at 10:23 , Sebastien LELONG wrote: > About the testing meter... > Not very accurate, I'd need your help here. Currently, this is the > number > successful tests - the number of failed tests, divided by the total > number of > tests (considering test + sample). That is: (success + failed) / total > > As a consequence: > * the meter can be negative. It then says "unsupported" > * PICs, which have only a blink led test with success, have 100%. > That's not > that good... Maybe I could add a meter showing the confidence, > growing up as > there are more tests. Gimme ideas, guys (or better, formulas...), > or I let it > as is...
If there is only one test, set it at 10%. > About the libraries involved... (reading this can give headaches) > For each test (whether a test or a sample), I search for "include" > statements > (regex: "^\s*include\s+(\w+)\s*", anything starting with spaces or > not, > then "include" word). For each test, I can put a list of libraries > it uses. > > Since a test can pass, fail or be "not run yet", I can build list > of libraries > which have been involved in successfull,, failed, or "not run yet" > tests.. On > the html matrix, I give priority to success, then to untested, then to > failed. > > Ex: > * if libA is involved in 3 tests, which pass, fails, "not run > yet", then the > lib goes the to success part (green). > * If libB is involved in 2 tests, which fails and "not run yet", > then the lib > is considered untested (blue). This is a "give it a chance" approach. > > > Next step is too build dedicated test page for each PIC, which I > expect to be > easier and faster, since it's just about reporting. > > Waiting for your feeback, > Seb > -- > Sébastien LELONG > http://www.sirloon.net > http://sirbot.org > > > > 16f877: > samples: > b16f877.jal: {pass: null, revision: null} > lcd_hd44780_tmp_4_line.jal: {pass: null, revision: null} > lcd_hd44780_tmp_8_line.jal: {pass: null, revision: null} > lcd_st7036.jal: {pass: null, revision: null} > lcd_st7036_and_rtc_ds1302.jal: {pass: null, revision: null} > rtc_ds1302.jal: {pass: null, revision: null} > tests: {} > 16f877a: > samples: > b16f877a.jal: {pass: null, revision: null} > hello_world_lcd.jal: {pass: true, revision: null} > keyboard_lcd.jal: {pass: false, revision: null} > lcd_format.jal: {pass: true, revision: null} > print_serial_numbers.jal: {pass: true, revision: null} > pwm_led.jal: {pass: true, revision: null} > read_co2_t6603.jal: {pass: null, revision: null} > tests: > test_blink.jal: {pass: null, revision: null} > test_i2c_hw_l0.jal: {pass: null, revision: null} > test_i2c_sw_l0.jal: {pass: null, revision: null} > test_lcd_hd44780_4.jal: {pass: null, revision: null} > test_pwm1.jal: {pass: null, revision: null} > test_pwm2.jal: {pass: null, revision: null} > test_serial_format.jal: {pass: null, revision: null} > test_serial_hardware.jal: {pass: null, revision: null} > 16f88: > samples: > adc_lowres.jal: {pass: true, revision: null} > b16f88.jal: {pass: true, revision: null} > delay_basic.jal: {pass: true, revision: null} > print_serial_numbers.jal: {pass: true, revision: null} > pwm_led.jal: {pass: true, revision: null} > pwm_led_highres.jal: {pass: true, revision: null} > pwm_sound.jal: {pass: false, revision: null} > remember_me.jal: {pass: true, revision: null} > serial_hw_echo.jal: {pass: false, revision: null} > serial_hw_int_cts_echo.jal: {pass: true, revision: null} > serial_sw_echo.jal: {pass: true, revision: null} > tests: > test_blink.jal: {pass: null, revision: null} > test_i2c_hw_l0.jal: {pass: null, revision: null} > test_i2c_sw_l0.jal: {pass: null, revision: null} > test_lcd_hd44780_4.jal: {pass: null, revision: null} > test_pwm1.jal: {pass: null, revision: null} > 16f882: > samples: > b16f882.jal: {pass: true, revision: null} > tests: {} > 16f883: > samples: > b16f883.jal: {pass: false, revision: null} > tests: {} > 16f884: > samples: > b16f884.jal: {pass: null, revision: null} > tests: {} > PIC Testing meter Libraries > 16f877 > not tested > > success > untested 16f877, 16f877_ok, delay, ds1302_rz, lcd_hd44780_tmp, > lcd_st7036, lcd_st7036_inline_rz, lcd_st7036_rz > failed > number of tests: 6 pass: 0 fail: 0 unknown: 6 > 16f877a > risky > > success 16f877a, delay, format, lcd, lcd_hd44780_4, print, > pwm_ccp1, serial_hardware > untested i2c_hardware, i2c_software, pwm_ccp2, t6603_co2 > failed keyboard > number of tests: 15 pass: 4 fail: 1 unknown: 10 > 16f88 > average > > success 16f88, adc_hardware, delay, format, pic_data_eeprom, print, > pwm_ccp1, serial_hardware, serial_hw_int_cts, serial_software > untested i2c_hardware, i2c_software, lcd_hd44780_4 > failed > number of tests: 16 pass: 9 fail: 2 unknown: 5 > 16f882 > oh my... > > success 16f882 > untested > failed > number of tests: 1 pass: 1 fail: 0 unknown: 0 > 16f883 > not supported > > success > untested > failed 16f883 > number of tests: 1 pass: 0 fail: 1 unknown: 0 > 16f884 > not tested > > success > untested 16f884 > failed > number of tests: 1 pass: 0 fail: 0 unknown: 1 --- 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 -~----------~----~----~----~------~----~------~--~---
