Commit Graph

641 Commits (8c8b3eb3b9d2a5dc61cd5ee61f82850a65b396bb)

Author SHA1 Message Date
Mihail Stoyanov 8c8b3eb3b9 Merge branch 'master' of https://github.com/mbedmicro/mbed 2014-07-11 11:19:02 +03:00
Mihail Stoyanov 0d85f673ed Fixed compile with IAR
Added get_dep_opt for ARM class
2014-07-11 11:13:22 +03:00
Mihail Stoyanov b92e928f6a Trade slightly more CPU usage for less memory usage 2014-07-10 22:30:51 +03:00
Przemek Wirkus c3cfff246c Replaces prompts starting with >>> with simple one liners. It will be later refactored to common display format via some 'print info/warn/err class' 2014-07-10 18:26:39 +01:00
Mihail Stoyanov 853630792e Restore verbose logging 2014-07-10 20:10:21 +03: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 a1c9c941b5 Added serial port wrappers for read/write instead of raw serial port access to access MUT serial port. This will allow to catch more issues with communication with MUT during tests. This will also 'hide' tracebacks from test suite execution. 2014-07-10 14:54:05 +01:00
Przemek Wirkus 82e4a672ca Added seral port read/write wrappers to handle serial port communication issues. Added IOERR_SERIAL handler for basic test. Other tests will be refactored in separate commits. 2014-07-10 14:51:56 +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
Mihail Stoyanov fab45821a7 Refactoring of the python multiprocessing code to use queues load balancing based on apply_async();
Use the returned result by apply_async() to fetch compile_worker() results and get rid of python queues;
Optimize the threads handling code
Reuse compile threads via self.mp_pool
2014-07-10 15:33:04 +03: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 10974f29f3 Removed unused 'pass' statement 2014-07-10 10:58:09 +01:00
Przemek Wirkus f3567d4f1a pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:07 +01:00
Przemek Wirkus 7c6ece5764 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:05 +01:00
Przemek Wirkus e7c8010fe5 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:02 +01:00
Przemek Wirkus f55c0aca43 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:58:00 +01:00
Przemek Wirkus 7a5d00bd65 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:58 +01:00
Przemek Wirkus 3ce8116fb2 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:56 +01:00
Przemek Wirkus 803c92438d pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:53 +01:00
Przemek Wirkus 0fef3ba498 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:51 +01:00
Przemek Wirkus 89ef186680 pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:49 +01:00
Przemek Wirkus 005ed7ec4a pyFlakes issues fixed. Simple refactoring 2014-07-10 10:57:47 +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
Mihail Stoyanov 82e9c166f3 Remove --depend option that is specific to armcc 2014-07-09 20:28:28 +03:00
Mihail Stoyanov ff3cd57126 Add -j option to build.py, build_release.py and make.py
Multiple compile jobs are not enabled by default unless -j 0 or -j >1 is specified
2014-07-09 20:00:21 +03:00
Mihail Stoyanov f858f02120 Changed comment 2014-07-09 15:30:41 +03:00
Mihail Stoyanov 9c6f0bf37c Revert global toolchains optimizations 2014-07-09 15:09:48 +03:00
Mihail Stoyanov 61f58c93ab Reordered the logics around compile_queue() 2014-07-09 14:38:18 +03:00
Mihail Stoyanov 9345778a6f Add multiple compile queues support (multiprocessing)
Add header stats cache for need_update() routine
Add compile order consistency
2014-07-09 13:28:02 +03:00
Rohit Grover aae8513739 changes needed to support V7 of the nRF51822 soft-device 110 2014-07-08 16:42:47 +01:00
Przemek Wirkus 2d4abbbf2e Fixed path to semihost unit test sources. Recompiled to check and test 2014-07-08 14:31:20 +01:00
Przemek Wirkus 79970295ea Bugfixing for UT library support 2014-07-08 14:31:17 +01:00
Przemek Wirkus ee1a2f5289 Added permutation counter to default on-line compiler 2014-07-08 14:31:15 +01:00
Martin Kojtal 12975ce03c Merge pull request #390 from xiongyihui/master
[EXPORTERS] add XADOW_M0 and ARCH_BLE to build_release.py, export support for Arch BLE
2014-07-08 09:32:58 +01:00
Mihail Stoyanov fd1600582b Fixed Xadow M0 extra labels 2014-07-07 19:04:43 +03:00
Yihui Xiong e13f1f2516 export support for arch ble 2014-07-07 15:11:47 +08:00
Yihui Xiong 1b190a4ec2 add XADOW_M0 and ARCH_BLE 2014-07-07 15:09:25 +08:00
Mihail Stoyanov ac85b9f6a0 Added mbed blinky to tests 2014-07-04 20:10:28 +03:00
Przemek Wirkus 362d6c83ff Added TODO for test suite improvements. 2014-07-04 14:52:09 +01:00
Bogdan Marinescu 2c7c7767de Merge pull request #385 from ytsuboi/master
[HRM1017] Added to build_release.py
2014-07-04 15:21:33 +02:00
Przemek Wirkus 690517143d Changed timeouts for EEPROM line read/writes to 15 because Nucleo targets perform tis test in <12s period 2014-07-04 10:03:42 +01:00
Mihail Stoyanov ca14f552e5 Fixed Xadow M0 target support 2014-07-04 11:44:53 +03:00
Mihail Stoyanov 19264fc372 Added ARM MPS2 platform support
Changed ONLINE_TOOLCHAIN flag to default_toolchain
2014-07-03 12:27:08 +03:00
ytsuboi 5e91f7d5ad [HRM1017] Added to build_release.py 2014-07-03 03:35:11 +09:00
Przemek Wirkus 1a7c96d10b Bugfixiong after modification in -r and -R options 2014-07-02 15:01:46 +01:00