Commit Graph

131 Commits (165d2536fe0b24e6c3370866e91b34a497efed10)

Author SHA1 Message Date
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
Przemek Wirkus 79970295ea Bugfixing for UT library support 2014-07-08 14:31:17 +01:00
Przemek Wirkus 1a7c96d10b Bugfixiong after modification in -r and -R options 2014-07-02 15:01:46 +01:00
Przemek Wirkus 41f703c594 Refactoring: Changed option -r and added option -R to print more info about test cases 2014-07-02 15:01:43 +01:00
Przemek Wirkus 06f2fb3e55 Added TOTO about graceful handle of disk full error in mbed board 2014-07-02 10:29:18 +01:00
Przemek Wirkus c97f1b8139 Added support for cpputest library. UT libray now compiles as separate lib, just like other libs. For example ETH or RTX. Added support for cpputest sources in root of mbed project (on the same level with mbed sdk repo). changes include adding new paths to the project. Two example UT (UT_1, UT_2 are added). New option -O is introduced to force 'test build only' 2014-07-01 17:45:38 +01:00
Przemek Wirkus 5711275f24 Added option -c to control how we are going to copy files on target platform disk 2014-06-26 17:43:27 +01:00
Przemek Wirkus 12e365302e Removed unused code for reset MCU and runnit single test (old way: like in make.py) 2014-06-23 17:41:07 +01:00
Przemek Wirkus 05b19683ff Typos corrected in optparser info strings 2014-06-23 10:42:53 +01:00
Przemek Wirkus 2750c36086 More improvements to switch -t (Shorter matrix of text x toolchains results) 2014-06-12 17:46:05 +01:00
Przemek Wirkus 5fade0ff20 Added switch -C to run only common tests. This is oposite option to -P which will test only peripherals 2014-06-12 16:04:05 +01:00
Przemek Wirkus 978d8bd667 Small indent / trailing spaces issues corrected 2014-06-10 11:24:44 +01:00
Przemek Wirkus baa3036041 Added matrix of MCU x supported toolchain print 2014-06-09 16:11:08 +01:00
PrzemekWirkus caefb89e20 Added bash python path #!/usr/bin/env python (file first line) 2014-06-04 16:12:24 +01:00
Przemek Wirkus 5d7a475ec7 Fixed simple path sufix detection 2014-06-04 15:26:16 +01:00
Przemek Wirkus a202afec2c Added support for additional libs build for each test 2014-06-03 17:35:53 +01:00
Przemek Wirkus 688fb9cbec Added disk path slash sufix if missing 2014-06-03 14:54:18 +01:00
Przemek Wirkus 1ac1ba4833 Added test by nane execution to test suite execution script 2014-05-14 18:26:26 +01:00
Przemek Wirkus 044b5131cb Added NUCLEO_F103RB, NUCLEO_L152RE, NUCLEO_F302R8, NUCLEO_F030R8, NUCLEO_F401RE defines to timer tests. Fixed bug related to Nucleo not responding to singletest.py test execution 2014-05-02 19:54:40 +01:00
Przemek Wirkus 9f0911462f Automation listing refactoring 2014-04-16 11:06:39 +01:00
Przemek Wirkus 79a67e8499 Bug fix, crash when using both -v and -P flags - reported by Mihail 2014-04-16 11:06:36 +01:00
Przemek Wirkus 62469bd680 Small testing script refactoring 2014-04-09 13:00:45 +01:00
Przemek Wirkus 46902264d5 Added 75% treshhold for test groups progress bars. In -r option 2014-04-09 11:33:57 +01:00
Przemek Wirkus 8f2f179488 Added new functionality: now you can use -P switch to test MUT's peripherals only 2014-04-08 16:01:00 +01:00
Przemek Wirkus 54408560fd Small improvements to -r option (test automation summary) 2014-04-08 09:40:11 +01:00
Przemek Wirkus c992edfc1a Small improvements to -r option (test automation summary) 2014-04-08 09:40:10 +01:00
Przemek Wirkus 17f62233e4 Added test automation report / summary to command line. Option: -r 2014-04-08 09:40:09 +01:00
Emilio Monti 752c8f466f Both ST and Nordic boards now support the reset through serial break 2014-03-25 16:14:20 +00:00
Przemek Wirkus b345a189cf Added implementation for TCP and UDP client 2014-03-17 17:29:18 +00:00
Przemek Wirkus 5ad9d33664 Added proper verbose for test output 2014-03-17 11:59:25 +00:00
Przemek Wirkus 34e19e31e5 Added automation tests' implementation for TCP_Server, UDP_Server and STDIO 2014-03-17 11:58:35 +00:00
Przemek Wirkus 662d4afaac Added proper host test (draft) 2014-03-13 11:32:55 +00:00
Przemek Wirkus c67fecd174 Input file format description added 2014-03-12 10:59:19 +00:00
Przemek Wirkus fb3bf48a2a Added result print below table 2014-03-11 17:55:10 +00:00
Przemek Wirkus 8055bca0d6 Added Goanna static analysis tool for mbed SDK (-G switch) 2014-03-10 17:24:27 +00:00
Przemek Wirkus 03bb264af9 Added support to run Goanna static tool analysis when building tests (not mbed-SDK) 2014-03-10 17:14:26 +00:00
Przemek Wirkus 74e9b2e462 Typo corrected 2014-03-07 17:31:33 +00:00
Przemek Wirkus 0f23ed0e43 NORDIC can now reset using serial break 2014-03-06 16:14:09 +00:00
Przemek Wirkus 724bf1debb Added function description 2014-03-03 12:15:46 +00:00
Przemek Wirkus 94976c6c57 Added floating point time notification 2014-02-28 11:33:57 +00:00
Przemek Wirkus 0ea7dd9547 pylint minor issues fixes 2014-02-27 17:00:21 +00:00
Przemek Wirkus 28d1e5e381 FIxed few minor pylint warnings and suggestions 2014-02-27 16:47:53 +00:00
Przemek Wirkus d24612bc99 Added external support for MUTS definiitons. Now each instance of singletest.py can obtain its own MUTS collection(s): (mcu, port, disk, peripherals) 2014-02-27 14:27:58 +00:00
Przemek Wirkus 76ab5789d2 JSON test specification file code refactored 2014-02-27 14:06:47 +00:00
Przemek Wirkus 40e87d0718 Fixed minor pylint warnings and comments 2014-02-27 13:07:12 +00:00
Przemek Wirkus 7f9f4b5030 Removed hardcoded test scenario. Now test scenario should be imported from external JSON file. 2014-02-27 12:59:57 +00:00
Przemek Wirkus ca5ea39801 Added 'peripherals test' cases filter to run only declared in private_settings' MUTs tests. 2014-02-25 18:04:32 +00:00
Przemek Wirkus 37e1b85540 Buildbot configuration preliminary settings. Also added 'singletest.py' runner to perform test in one buildbot slave (non-thread safe) 2014-02-24 10:59:35 +00:00