Przemek Wirkus
6a9e726ccd
Flushing serials after reset added as test stability improvement
2014-09-01 16:25:00 +01:00
Przemek Wirkus
2c166222b6
Added parent directory to import path to host test script so we can now impoer workspace_tools.* as we do in other scripts - problem was host_test.py and other tests run with custom CWD and imports are not easy to maintain
2014-09-01 16:10:24 +01:00
ytsuboi
1ee314c4a5
[LPC4337] first commit
...
just confirmed with >workspace_tools\make.py -m LPC4337_M4 -t ARM -p 25
2014-09-01 23:30:22 +09: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
414a87083a
Added PERF_ tests to automated pool
2014-09-01 08:44:00 +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
b9c75a7712
Added 3 new performance tests (PERF_* group). Tests measure read/write speed of file system operation while using Stdio, FatFS and mbed (FIleHandle) implementations
2014-09-01 08:43:52 +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
Rohit Grover
616ac8929a
add support for nRF51-DK
2014-08-28 16:36:16 +01:00
Bogdan Marinescu
fee50a80ff
Fixed case for FATFileSystem
2014-08-28 13:14:38 +01:00
Bogdan Marinescu
024a68e792
Publish FatFileSystem under mbed-official
2014-08-28 10:54:35 +01:00
Bogdan Marinescu
2b696a06fc
Synchronize FatFileSystem automatically
2014-08-28 10:42:59 +01:00
Yihui Xiong
cb75014f09
[nrf51822][gcc_arm]: fix softdevice path and srec_cat params of makefile templates
2014-08-28 16:54:28 +08:00
Bogdan Marinescu
bbc120c478
Merge pull request #460 from xiongyihui/stm32f407
...
DISCO_F407VG - add USBDevice support and a variant - ARCH_MAX
2014-08-21 14:57:36 +01:00
Yihui Xiong
cbe4a4b26e
add target ARCH_MAX, a variant of DISCO_F407VG
2014-08-21 16:48:40 +08:00
Yihui Xiong
132278ac87
add USBDevice library support for DISCO_F407VG
2014-08-21 16:03:37 +08:00
Przemek Wirkus
a9713521d7
Added missing macros to symbol list
2014-08-20 10:59:28 +01:00
Bogdan Marinescu
e4bd6f4df3
Merge pull request #444 from chrta/enable_jinja_template_inheritance
...
Enable the use of template inheritance for exporters
2014-08-18 15:11:48 +01:00
Bogdan Marinescu
4dbfe1ea08
Merge pull request #445 from Experiment-626/master
...
Renamed TARGET_GHI_MBUINO to TARGET_OC_MBUINO to match the new name of t...
2014-08-18 09:18:55 +01:00
Bogdan Marinescu
601712595f
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-15 16:20:11 +01:00
Bogdan Marinescu
3082f90285
Enabled GCC_ARM for NRF51822 targets in official build
2014-08-15 16:19:20 +01:00
Przemek Wirkus
ab2433cac2
Test bugfix: bugfixed RTOS (mutex, semaphore) - not thread safe stdio causes test result prints to be interrupted by threads' printing
...
test bugfix: added support for targetID print from device for 'hello world' and 'stdio' testcases
2014-08-15 11:17:52 +01:00
Przemek Wirkus
e5f2d119ae
Added self parameter to mbedToolchain::__exit__() method
...
Removed unused modules' imports
Few minor indent issues fixed
2014-08-14 17:40:58 +01:00
Bogdan Marinescu
cc0476de33
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-14 17:13:41 +01:00
Bogdan Marinescu
939725575d
Switched XADOW_M0 to uARM for correct compilation
2014-08-14 17:11:57 +01:00
Aron L. Phillips
bf254ca673
For this commit, renamed GHI_MBUINO to OC_MBUINO as required for the platform change as well as the TARGET_GHI_MBUINO to TARGET_OC_MBUINO directory.
2014-08-14 10:56:32 -04: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
Bogdan Marinescu
ba4f09543f
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-14 12:40:26 +01:00
Bogdan Marinescu
8c28ed250a
Removed DISCO_F407VG from the official build
...
It was basically useless, since there's no corresponding target on
mbed.org
2014-08-14 11:38:11 +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
278acbec5d
Host test: wrapped mbed.serial.timeout into separate function to avoid traceback and send proper IO_SERIAL error from host test(s)
2014-08-14 11:29:56 +01:00
Christian Taedcke
cc09416bd2
Using jinja2 environment to load the template file.
...
This enables the use of template inheritance, see
http://jinja.pocoo.org/docs/templates/#template-inheritance
2014-08-13 21:52:47 +02:00
Przemek Wirkus
a5bdd4a8bb
More comments added to methods in host_test.py
2014-08-13 11:29:06 +01:00
Przemek Wirkus
005c3a7b87
Host test: wrapped timeout for MUTs serial port access to handle IO_SERIAL error while accessing serial port
2014-08-13 11:11:51 +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
8cc7678c4b
Small comment indent in test web api file
2014-08-13 10:27:07 +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
c1ebcb498b
Simple indent for function call parameters
2014-08-13 10:26:46 +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
5947838b2b
BUgfix: jobs (-j) value was not properly set in SingletestRunner class parameters
2014-08-13 10:26:41 +01:00
Bogdan Marinescu
23b25bbd91
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-12 15:06:47 +01:00
Bogdan Marinescu
25926ae75d
Re-implemented LPC patching step
...
Now implemented as a 'post binary hook'. Targets that need this will have
to inherit from LPCTarget instead of Target, the rest should be automatic
(but see LPC4088 for an exception (currently, hooks can't be chained
automatically))
2014-08-12 14:59:50 +01:00
Bogdan Marinescu
ec6f5454a8
Merge pull request #435 from janekm/master
...
fixes to NRF51822 GCC template
2014-08-12 10:22:59 +01:00
Bogdan Marinescu
e6bf98d996
Merge pull request #437 from 0xc0170/fix_nordic_exporters
...
[Exporters] Nordic - uvision - RAM fix and mergehex removal
2014-08-12 10:22:24 +01:00
Martin Kojtal
c266ac3596
Merge pull request #439 from xiongyihui/stm32f407
...
[Exporters] add DISCO_F407VG's uvision support
2014-08-12 07:38:54 +01:00
Yihui Xiong
c8704284bd
add DISCO_F407VG's uvision support
2014-08-12 11:53:19 +08:00
Bogdan Marinescu
beaec03041
Compile LPC1549 with GCC_ARM under Travis
2014-08-11 15:21:05 +01:00
Bogdan Marinescu
15129aa459
Merge pull request #434 from chrta/add_lpc1549_gcc_arm
...
[LPC1549] Add support for GCC_ARM
2014-08-11 14:34:11 +01:00
Janek Mann
4357cdb229
adding --gc-sections back in to the template
2014-08-11 11:51:58 +01:00
Janek Mann
c5f07dc672
fix for NRF51822 linker script
2014-08-11 11:42:41 +01:00
Janek Mann
7e2001b980
workaround for --gc-sections issue with NRF51822
2014-08-11 11:23:13 +01:00
Yihui Xiong
0b7b75881a
fixed L6235E link error for Xadow M0
2014-08-11 12:37:06 +08:00
Janek Mann
24ea3bcafa
fixes to NRF51822 GCC template
2014-08-11 00:30:06 +01:00
Christian Taedcke
bc62d0b66d
[LPC1549][GCC_ARM] Add export functionality
2014-08-09 16:05:07 +02:00
Christian Taedcke
67e9feeab7
[LPC1549] Add support for GCC_ARM
2014-08-09 16:05:06 +02:00
0xc0170
e689bd9421
[Exporters] Nordic - uvision - RAM fix and mergehex removal
2014-08-08 16:08:41 +01:00
Bogdan Marinescu
4c54ea6a4b
Added parallel build option to build_travis.py
...
Mostly to test Mihail's parallel build changes
2014-08-07 17:06:56 +01:00
Bogdan Marinescu
2cf5f34286
Merge branch 'master' of github.com:mbedmicro/mbed
2014-08-07 17:03:21 +01:00
Bogdan Marinescu
45597fd8e6
A few changes to the new parallel build system
...
- restored assemble/compile_c/compile_cpp, except now they return the commands
that will run, instead of actually running the commands
- remove need_update_new, since it doesn't seem to be used anywhere
2014-08-07 17:01:39 +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
ed0501188b
Added fat library (switch --fat) to Travis libs build
2014-08-07 13:31:33 +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
dc4d741c37
Removed tabs, added Copyright preamble, added info about 'fat' library availability in 'libs' section, added python env path in first line of the script
2014-08-07 11:54:02 +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
3310416d2f
Fixed duration time for test MBED_A25 - EEPROM flash line read/write - back to 10s after NUCLEO team fixed I2C impementation and I2C timing
2014-08-07 11:48:42 +01:00
Bogdan Marinescu
8dbd2833fc
Propagated 'jobs' argument to build_project'
2014-08-07 11:21:07 +01:00
Bogdan Marinescu
16b9ae0c8a
Added 'jobs' argument to static_analysis_scan_lib
2014-08-07 11:21:03 +01:00
Bogdan Marinescu
4099f9c29e
Propagated 'jobs' argument to build_lib
2014-08-07 11:20:59 +01:00
Bogdan Marinescu
2df4afd948
Merge pull request #395 from screamerbg/master
...
Support for multiple compile queues/jobs, stats cache and compile order consistency
2014-08-07 11:19:13 +01:00
Martin Kojtal
5b145e4f6c
Merge pull request #422 from Experiment-626/master
...
[TARGET_LPC11UXX] PeripheralNames.h and PinMap definitions separation for LPC11UXX platforms
2014-08-06 10:12:30 +03:00
Mihail Stoyanov
d5835221ec
Add _assemble() and _compile() methods to generate one or more commands per source file
...
Support multiple commands per compile
Reuse _assemble() and _compile() for sequential and parallel compiles
Preserve compile(), compile_c(), compile_cpp() and assemble() methods functionality
2014-08-05 18:22:50 +03:00
Mihail Stoyanov
647c96172c
Merge branch 'master' of https://github.com/mbedmicro/mbed
...
Conflicts:
workspace_tools/build.py
2014-08-05 15:06:53 +03: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
Aron L. Phillips
4a870d3682
The following changes were based on the request by Martin Kojtal:
...
Removed the pin definition comments from the xxx_api.c files;
Added GHI_MBUINO to the build_travis.py target section.
2014-08-04 11:06:15 -04: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
7f480e4b84
Added test web services API file
2014-08-04 15:54:49 +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
80bb5b6f6d
Added correct target counting when filtering option -S with -f filter
2014-08-04 14:29:41 +01:00