Przemek Wirkus
beed8358f9
Improvements to RTC's host_test test case
2014-09-04 15:30:08 +01:00
Przemek Wirkus
c12b5de37b
Fixed NET_(4,6,13) client tests so after reset we wait for device to send print it's ready
...
Fixed small print issue with -V option
2014-09-04 10:10:55 +01:00
Przemek Wirkus
2df3125ca4
Fixed missing STDOUT in Echo test
...
Fixed missing opening and closing brackets in {{start}}
2014-09-03 15:01:19 +01:00
Przemek Wirkus
61b1d75032
Added dynamic test printing
2014-09-03 14:27:53 +01:00
Przemek Wirkus
4e3b149f79
Modified STDIO and ECHO so they use rpeamble to initialize communication
2014-09-03 13:33:54 +01:00
Przemek Wirkus
828ba90dcd
Added 'real-time' test result printing when tests are executed (view test execution progress using option -V)
2014-09-03 13:33:50 +01:00
Rohit Grover
7aedd02f25
mostly white space diffs to Nordic's system startup file
2014-09-03 13:18:02 +01:00
Przemek Wirkus
7a1f2cd9b1
Disabled STL and CString test
2014-09-03 11:22:06 +01:00
Przemek Wirkus
e43fade769
Added source folder with CSTRING test
2014-09-03 11:06:39 +01:00
Przemek Wirkus
451f3b2166
Refreshed STL test
2014-09-03 09:49:22 +01:00
Przemek Wirkus
ce8543ecc8
Refreshed STL test
2014-09-03 09:48:20 +01:00
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
d71a7579b4
Removed from Hello World target test success notification
2014-09-02 15:50:24 +01:00
Przemek Wirkus
1bdc4b8046
Simplified HelloWorld test to detect different types of ragteId (they can have different length)
2014-09-02 15:24:51 +01:00
Przemek Wirkus
b481bc4319
Modified test EXAMPLE_1 to fail if can't receive proper print from Mbed
2014-09-02 14:52:24 +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
3a02126bd6
ToolException catch added when executing tests in execute() function
2014-09-02 11:11:47 +01:00
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
b45361a4d4
Flush separated for different methods
2014-09-01 17:05:00 +01:00
Przemek Wirkus
4d908bd626
Added -N alias to --firmware-name switch
2014-09-01 16:36:28 +01:00
Przemek Wirkus
9cf976e827
Flushing serials after reset added as test stability improvement
2014-09-01 16:27:54 +01:00
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
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
ff9252a247
Fixed ticker_2 blinking
2014-09-01 08:44:24 +01:00
Przemek Wirkus
d8553d2724
Added copy + reset method for eACommander
2014-09-01 08:44:20 +01:00
Przemek Wirkus
2deae79c13
test cases minor improvements - for timers reduced other code, left only with LED blinking (no pin toggling)
2014-09-01 08:44:16 +01:00
Przemek Wirkus
bd689d7c7e
Fixed static / extern for led_blik() function. This function should be encapsulated inside test_env.cpp compilation unit for internal printing / error prompting usage
2014-09-01 08:44:12 +01:00
Przemek Wirkus
400e4f8085
Added measurement prints to PERF test group
2014-09-01 08:44:08 +01:00
Przemek Wirkus
7c1adc5eaa
Added simple coefficient notifiers (functions) to print int, uint and double together with measurement name
2014-09-01 08:44:04 +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
13c3a64e3f
Fixed CPPUTEST test runner for other compilers. Now we will force to pass main(argc, argv) ourselves to CPPUTEST test suite - as should be done in embedded project
2014-09-01 08:43:49 +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
60f6c97c3f
HTTPClient bugfixed - recent HTTPClient tests show POST method failing. HTTP header scan function insufficient buffers blocked proper header scan
2014-09-01 08:43:18 +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
Bogdan Marinescu
f304c6ba83
Merge pull request #471 from dbestm/master
...
[NUCLEOs] enhance i2c api
2014-08-29 20:42:28 +01:00
Rohit Grover
734f365d7d
These changes allow us to re-implement us-Ticker using the RTC for the
...
nRF51822. There are two major themes here:
1. timestamp_t as an abstraction for time values managed by
Ticker. Using uint64_t for timestamp_t allows a wraparound-free
Ticker. This change forces us to update the definitions of usTicker
for all platforms; but the changes beyond nRF51822 aren't major.
2. reduce power consumption on the nRF51822 by removing the need for
the high-frequency processor timer; and reimplementing it using the
RTC.
I've also replaced high-frequency clock with low-frequency external
clock during system startup of the nRF51822. This brings a major win
in power consumption.
2014-08-29 17:03:08 +01:00
Rohit Grover
958aa2488b
changes proposed from Martin's review
2014-08-29 17:02:40 +01:00
Rohit Grover
6daf3ac52a
add a destructor for Ticker.
2014-08-29 17:02:40 +01:00
Rohit Grover
fedb7f02c0
use timestamp_t for Ticker::_delay
2014-08-29 17:02:39 +01:00
Rohit Grover
ab17cc71dc
minor simplification of a reused expression
2014-08-29 17:02:39 +01:00