Przemek Wirkus
f7f79866d1
Unlocked --db switch. Added check when parsing DB connection string
2014-11-21 13:57:23 +00:00
Martin Kojtal
eadd2013c2
Merge pull request #719 from PrzemekWirkus/host-test-improvements-part-2
...
Tools: Host test plugin improvements, part 2: Copy plugins
2014-11-19 00:24:28 -08:00
Przemek Wirkus
858196ffff
When users are using 'build only flag' (switch -O) and test do not have specified peripherals (muts.json file is just empty dictionary) we can allow test building by default. This supposed to be Yotta related improvement.
2014-11-12 18:02:07 +00:00
Przemek Wirkus
7646c51d7e
Host test plugins: minor updates
2014-10-30 14:26:52 +00:00
Przemek Wirkus
93a87748a3
Host test plugins: bug-fix: serial_timeout was used as function name and class member. Caused runtime script problem
...
Host test plugins: Increased test suite timeout on each test execution twice - for now, so tests do not timeout. TODO: exclude coopy and reset procedures from testcase timeout measurement
2014-10-29 17:21:55 +00:00
Przemek Wirkus
c4397b75b7
Host test plugins: moved program cycle sleep time to host_test - this delay is used to give time device to flash copied file
2014-10-29 14:28:02 +00:00
Przemek Wirkus
4d8dfed27f
Host test copy functionality migration: copy functionality partially moved to host_test (tested with basic set of tests, not with e.g. NET tests.
...
Host test copy functionality: TODO: modify rest of host tests to use self.mbed.reset() and self.mbed.copy_image() according to curent test scipt API
2014-10-27 16:38:19 +00:00
Przemek Wirkus
16dbfa3f72
Host test copy functionality migration: removed all extra port and disk functionality. It will be added when it is really needed
2014-10-27 15:51:26 +00:00
Przemek Wirkus
ae4be96c86
Host test copy functionality migration: added required parameters for host_test.py command line: path to image, copy method
2014-10-27 15:46:15 +00:00
Przemek Wirkus
97c220d56e
Host test plugins: rearranged singletest.py script parameters list so now for option -c and -r (copy method and reset method respectively) we will see plugin related options also - changed dynamicaly with plugin loads
2014-10-27 12:42:48 +00:00
Przemek Wirkus
2f03b85bfc
Host test plugins: Added generic error printing to host test plugin base class
2014-10-23 17:14:18 +01:00
Przemek Wirkus
17f42519f0
Host test plugins: Added MPS2 and Firfox copy methods (both not stable and require further development)
...
Host test plugins: Added 'stable' attribute to each plugin, by default all plugins are not stable
Moved all MPS2 related functions to MPS2 plugins in host test directory
2014-10-23 16:56:05 +01:00
Przemek Wirkus
6a1bdb588e
Host test plugins: added copy pligins, and removed Selenium and eACommander dependency from Test API
2014-10-23 16:30:17 +01:00
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