Commit Graph

37 Commits (9c6dd060dc4efbb71a725fff66975819c7ff6782)

Author SHA1 Message Date
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
Przemek Wirkus 17c0132d56 Added parts of functionality related to extra reset types, global timeout increments and image configuration file modifications 2014-08-13 10:26:50 +01:00
Przemek Wirkus 0f8c5dc494 MPS2: Added function which will modify image cfg. file for MPS2 board. Added skeleton for log functionality 2014-08-13 10:26:48 +01:00
Przemek Wirkus 64640c8880 Feature: MPS2 reset functionality implementation (not finished and will not break current implementation) 2014-08-13 10:26:43 +01:00
Przemek Wirkus 49a78419bb Bugfix: In SingletestRunner.run_host_test function optional named parameters verbose and reset were not assigned with proper values 2014-08-07 14:00:05 +01:00
Przemek Wirkus 70ae40f938 Propagated 'jobs' argument to test suite CLI. Now option -j can be used with 'single_test.py' script 2014-08-07 13:22:51 +01:00
Przemek Wirkus c3c0be5443 Added extra reset option - not yet implemented. Only switches added to test suite CLI and host_test.py optparse 2014-08-07 11:48:47 +01:00
Przemek Wirkus 755d0174d6 Removed repeated lines from Copyright disclaimer/preamble 2014-08-07 11:48:44 +01:00
Przemek Wirkus 7bc89f6323 Refactoring: Continue refactoring for separate CLI and webservice API / functionalities in test suite. Separated by subclassing: 'one responsibility per class' 2014-08-05 09:32:44 +01:00
Przemek Wirkus 72fafcf269 Few pyLint and pyFlakes defects fixed 2014-08-04 16:16:47 +01:00
Przemek Wirkus eed8d68789 Refactoring: moved optParse options frm singletest.py CLI script to test_api to group common options in one place. Added new file test_webapi.py to store there web services API and related functions 2014-08-04 15:57:59 +01:00
Przemek Wirkus 13c6c4f13e Refactoring: created test_api.py and moved test code and classes to separate test api file. Prepareing to add MPS2 reset functionality 2014-08-04 14:29:46 +01:00