Przemek Wirkus
39e75c042f
Changed test suite version to 1.2
...
Added simple test to check C strings conversions
2014-09-02 17:34:08 +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
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
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
61f028f050
Fixed commit issues regarding logging mechanism - missed during previous commits
2014-08-13 10:27:10 +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
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
c1ebcb498b
Simple indent for function call parameters
2014-08-13 10:26:46 +01:00
Przemek Wirkus
5947838b2b
BUgfix: jobs (-j) value was not properly set in SingletestRunner class parameters
2014-08-13 10:26:41 +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
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
Przemek Wirkus
dcf1ef2130
Added 'firefox' as one of the ways to copy binary to target device (other options are cp, copy, xcopy, shutil.copy()
2014-08-04 14:29:44 +01:00
Przemek Wirkus
5b07b38554
Added script major / minor version
2014-08-04 14:29:39 +01:00
Przemek Wirkus
d9fbefd373
Test compliance with LPC1549 and LPC11U68
2014-07-30 17:53:01 +01:00
Przemek Wirkus
4c24cd6665
Fixed shuffle seed print only when shuffling
2014-07-30 17:52:58 +01:00
Przemek Wirkus
12b8dff9f9
First RESTful API functionality draft
2014-07-30 17:52:56 +01:00
Przemek Wirkus
783d20bac8
Added commandline parser help display when -i or -M option is missiog from command line
2014-07-30 17:52:54 +01:00
Przemek Wirkus
62c3118e38
Bugfixed filter target counter when used with filter.
2014-07-30 17:52:51 +01:00
Przemek Wirkus
d71e2713dd
Added simple filtering switch for -S option. This can be extended in the future to other switches like -r / -R
2014-07-30 17:52:49 +01:00
Przemek Wirkus
d28da8ec83
Fixed flow for JSON defect line / column parsing from json exceprion msg string
2014-07-30 17:52:46 +01:00
Przemek Wirkus
03c96a45de
Now issues in JSON configuration files will be printed in human readable format.
2014-07-30 17:52:43 +01:00
Przemek Wirkus
d0cd53e29f
Few pyLint issues fixed
2014-07-30 17:52:41 +01:00
Przemek Wirkus
dc12ff6bba
Fixed few pyFlakes issues + simple refactoring of unused variables and imports
2014-07-30 17:52:38 +01:00
Przemek Wirkus
c75944562f
Bugfix: removed blocking continue from shuffling option
2014-07-30 17:52:36 +01:00
Przemek Wirkus
28e4fc4f06
Separation for test class SingletestRunner towards Object Oriented design. Added shuffle seed to recreate test order when shuffling test order
2014-07-30 17:52:31 +01:00
Przemek Wirkus
4c10fbb660
Changed copyright date to 2014
2014-07-25 17:37:16 +01:00
Przemek Wirkus
8fab5bca18
Bugfix: Replaced magic value of UNDEF test result with proper const name
2014-07-24 15:33:46 +01:00
Przemek Wirkus
21ddd8b6cf
bugfix: option -t was not displaying all targets
2014-07-22 10:59:54 +01:00
Przemek Wirkus
805f470880
Bugfix reported by Mihail: If image firmware is not found wrong number of rows is reported (returned by SingleTest.handle() method.
2014-07-21 10:03:04 +01:00
Przemek Wirkus
2ad17c9f63
Added new switch -V which will allow users only to print test result text from serial port during test. It helps just to see test results from test / host test itself
2014-07-18 11:43:11 +01:00
Przemek Wirkus
f28e561da6
Added new switch -u. Now you can force test suite to shuffle test execution order so your tests are executed in random order
2014-07-18 10:21:47 +01:00
Przemek Wirkus
8c3fb1cdcc
Fixed bug in reporting IOERR_COPY. test_all_result was not filled with IOERR_COPY error when using -n ooption with single test
2014-07-18 10:21:43 +01:00
Przemek Wirkus
d6668565cf
Removed prints in verbose mode regarding skipped print. Still this prints can be shown using --verbose-skipped switch
2014-07-15 10:13:23 +01:00
Przemek Wirkus
19bfb0eb61
Added new feature: Now user can change default global name of project (test) binary to other name or by default use name chosen by the suite which is test folder name
2014-07-15 10:13:17 +01:00
Przemek Wirkus
ed4f76b9de
Added TIMEOUT as one of the rest results. Fixed test result structure in result summary (not all results were added)
2014-07-14 13:08:36 +01:00
Przemek Wirkus
0725b33375
Added exception handling for prettytable and serial modules - gracefuly handle missing imports.
2014-07-11 11:24:03 +01:00
Przemek Wirkus
ce078d6e90
Added few comments to functions. Removed fixed TODO in copy function. Refactored one function to return string instead of priting it.
2014-07-11 10:33:13 +01:00
Przemek Wirkus
a8d47821be
pyFlakes issue fixed: Removed two unused variables
2014-07-11 10:21:11 +01:00
Przemek Wirkus
80745d51ee
Test loops feature part 3: Finnaly commit. Added Loops info in pretty table in test sumary. Added Result resolving by test result list analysis.
2014-07-10 18:05:01 +01:00
Przemek Wirkus
98ae711ba5
Test loops feature part 2: added local and global loops counter to switches and test execution function.
2014-07-10 17:10:13 +01:00
Przemek Wirkus
b78617df93
Test loops feature part 1: added --loops and --global-loops switches, added test_loops paramater for test handler
2014-07-10 15:58:17 +01:00
Przemek Wirkus
f1db89ea0f
Added new error codes to test suite: IOERR_SERIAL, IOERR_DISK, IOERR_TIMEOUT, IOERR_COPY. Not all of them are yet handled but naming convention added for further implementations.
2014-07-10 14:50:35 +01:00
Przemek Wirkus
054d33a297
Added handler to catch file copy exceptions. Both suprocess.call() and shutils.copy are handled. tested with shutil.copy, cp and xcopy. Note: xcopy is in interactive mode by defalt.
2014-07-10 13:15:21 +01:00
Przemek Wirkus
c159494e35
Added file remove function with exception handling
2014-07-10 11:24:02 +01:00
Przemek Wirkus
1dbeae4423
Added target conflict detection in verbose mode in --config switch
2014-07-10 10:58:13 +01:00
Przemek Wirkus
1846a7ebcb
Added test specification and MUTs configuration pretty print
2014-07-10 10:58:11 +01:00
Przemek Wirkus
efead473eb
Issues from pyFlakes corrected in the script (removed some unused imports and functions)
2014-07-10 10:57:42 +01:00