Przemek Wirkus
b3c342bf7c
Unlocked option -f (--filter) to filter result by first column
2014-10-20 10:51:02 +01:00
Przemek Wirkus
c0ed6ba791
Disabled --db switch - reasoning: DB schema is still nto in test suite and it's not 100% ready so before I introduce MySQL DB schema officialy let's make this option dorment
2014-10-20 10:34:13 +01:00
Przemek Wirkus
12a9051aba
Removed few minor pyFlakes warnings
2014-10-15 16:33:30 +01:00
Przemek Wirkus
50966fdf89
Refactoring of report exporter to support HTML and JUNIT: Fixed issues with non ASCII characters read from serial port in ProcessObserver. Also changed reporting for errors and failures in TestSuite JUnit class
2014-10-15 16:05:57 +01:00
Przemek Wirkus
2274651892
Refactoring of report exporter to support HTML and JUNIT. Added unicode encoding for strings coming from serial console
2014-10-15 13:38:20 +01:00
Przemek Wirkus
091cccaf6e
Refactoring of report exporter to support HTML and JUNIT: Simple variable scope bug-fix
2014-10-15 11:36:47 +01:00
Przemek Wirkus
7ce6287474
Refactoring of report exporter to support HTML and JUNIT. Added properties for each unique test suite. Each test suite is sorted out as different toolchain
2014-10-15 11:33:41 +01:00
Przemek Wirkus
567f4a170f
Refactoring of report exporter to support HTML and JUNIT. Modified host tests to support serial and copy issues in more generic way. Copy in test suite and serial in host_test control flow.
2014-10-15 11:33:37 +01:00
Przemek Wirkus
51223ef6d1
Refactoring of report exporter to support HTML and JUNIT. TODO: add support for TEXT output.
...
Added JUtnit exporter
2014-10-15 11:33:30 +01:00
Przemek Wirkus
9fe239dcad
Added HTML reporting feature, switch --report-html FILENAME to singletest.py so now users can export test results to external HTML file. This feature can be used to display HTML reports on CI dashboards
2014-09-25 17:42:08 +01:00
Przemek Wirkus
95519c1334
Minor modifications to test api scripts
2014-09-25 17:42:04 +01:00
Przemek Wirkus
2ab8ad9b47
Feature: Device detection via serial - part 4
...
Interrupt In test pinology for NUCLEO changed
2014-09-24 14:58:14 +01:00
Przemek Wirkus
6690db1444
Feature: Device detection via serial - part 2
2014-09-24 14:58:07 +01:00
Przemek Wirkus
2e58f7922c
Feature: Device detection via serial - part 1
2014-09-24 14:58:03 +01:00
Przemek Wirkus
b031920624
Added clean build switch --clean to singletest script
2014-09-18 11:17:57 +01:00
Przemek Wirkus
7d9048fccc
Simple refactoring around MUT copy functionality - 'copy_method' avail in MUTs definition
2014-09-10 14:09:25 +01:00
Przemek Wirkus
55a77a2721
Added field 'copy_config' to MUTs file format
2014-09-10 14:09:21 +01:00
Przemek Wirkus
4a2b989f98
Added more exception handling for compilation error - so now we do not have Tracebacks when lib / mbed compilation fails
2014-09-10 13:10:38 +01:00
Przemek Wirkus
8e7f498f9e
Added simple compiler path check on --config switch
2014-09-05 13:26:51 +01:00
Przemek Wirkus
c12b5de37b
Fixed NET_(4,6,13) client tests so after reset we wait for device to send print it's ready
...
Fixed small print issue with -V option
2014-09-04 10:10:55 +01:00
Przemek Wirkus
61b1d75032
Added dynamic test printing
2014-09-03 14:27:53 +01:00
Przemek Wirkus
828ba90dcd
Added 'real-time' test result printing when tests are executed (view test execution progress using option -V)
2014-09-03 13:33:50 +01:00
Przemek Wirkus
52f929f4e0
Feature: Added waterfall test option: if used defines --loops or --global-loops and -W (--waterfall) option; testing of particular test will be tested until test pass (OK result)
2014-09-02 11:43:08 +01:00
Przemek Wirkus
3a02126bd6
ToolException catch added when executing tests in execute() function
2014-09-02 11:11:47 +01:00
Przemek Wirkus
9c6dd060dc
Moved MySQLDb package dependency to factory function to people not using DB will not have install MySQL Driver
2014-09-02 10:08:27 +01:00
Przemek Wirkus
4d908bd626
Added -N alias to --firmware-name switch
2014-09-01 16:36:28 +01:00
Przemek Wirkus
e25ffc7856
Added to switch -c option 'eACommander' and 'eACommander-usb'
...
Added to switch --reset-type option 'eACommander' and 'eACommander-usb'
2014-09-01 15:13:42 +01:00
Przemek Wirkus
d8553d2724
Added copy + reset method for eACommander
2014-09-01 08:44:20 +01:00
Przemek Wirkus
400e4f8085
Added measurement prints to PERF test group
2014-09-01 08:44:08 +01:00
Przemek Wirkus
65627812c5
Forced test case order by default to be sorted by test_id
2014-09-01 08:43:57 +01:00
Przemek Wirkus
01b0ed20f7
Added test output to test_entry in database so users can browse between results and see console output
2014-09-01 08:43:45 +01:00
Przemek Wirkus
020ae4df99
Added location parameter to build id in database. So we can distinguish all test suites working on one host
2014-09-01 08:43:41 +01:00
Przemek Wirkus
59bf36a2a5
Database feature: Added more info to build_id: added build_id type so builds can be divided into different sorts. E.g. some builds are only to build project and other will also run tests (default setting)
2014-09-01 08:43:38 +01:00
Przemek Wirkus
9f4946651a
Database functionality improved: Changes in database structure, added new features like: we update MUTs, test specification, test shuffle seed if needed and update test suite single run status at the beggining and in the end of test run
2014-09-01 08:43:34 +01:00
Przemek Wirkus
24a73e3c14
database access bugfixing. Also added few comemnts to database interface and logger interface
2014-09-01 08:43:30 +01:00
Przemek Wirkus
35fd4ad7d9
Database: added new factory and verbose database detection functions
...
Added separate file to store test suite DB access interface
Added new functionality to database interface: database name, connection status, hostname + uname functionality
Added option --db to singletest.py so users can define database connection url for database access
Added database configuration check with switch --config. Now users can combine switch --db and --config to check database conenctivity
2014-09-01 08:43:25 +01:00
Przemek Wirkus
4aaf7d4e3f
DB access, added build id status consts
2014-09-01 08:43:21 +01:00
Przemek Wirkus
884fed5a63
Mysql DB access: small updates
2014-09-01 08:43:14 +01:00
Przemek Wirkus
1e4ac92f2a
Database / MySQL API support added (test suite will access DB to store test results)
2014-09-01 08:43:10 +01:00
Przemek Wirkus
4bc1944973
Removed two logger entries in global test api functions (JSON parser prompters)
2014-08-14 14:39:52 +01:00
Przemek Wirkus
7d3ce4d65f
Fixed toolchain colummn order when using --config option
2014-08-14 14:31:28 +01:00
Przemek Wirkus
a09f3dd605
Bugfix: when displaying extra summary using -t option some indexes are not found and dictionary must be checked against key
2014-08-14 11:30:50 +01:00
Przemek Wirkus
d076c51060
Changed short description for --firmware-name switch
2014-08-13 10:27:12 +01:00
Przemek Wirkus
61f028f050
Fixed commit issues regarding logging mechanism - missed during previous commits
2014-08-13 10:27:10 +01:00
Przemek Wirkus
f80d0302a7
Added simple logger CLI logger (with logging to file) plus simple logger super class
2014-08-13 10:27:05 +01:00
Przemek Wirkus
23bcf850b3
Small update to new functionality for logger
2014-08-13 10:27:03 +01:00
Przemek Wirkus
0e6803b787
Bugfix: fixed function printing table with test results per target (switch -t)
2014-08-13 10:27:00 +01:00
Przemek Wirkus
698fe930e6
Changed functions' docstring format a little to mach singletest, test api and test webapi files
2014-08-13 10:26:58 +01:00
Przemek Wirkus
fd23d125db
reset functionality extensions: added function which will handle image configuration file changes after binary (image) copy to target. Now we can copy binary (image) into specified directory on MUTs disk
2014-08-13 10:26:55 +01:00
Przemek Wirkus
28b48ae4d0
reset functionality extensions: adding 'image_copy_method_selector' - function which will apply if necessary image configuration file modifications when image is copied onto MUT
2014-08-13 10:26:53 +01:00