Yakun Xu
33808ebfba
[style] apply google python style guide ( #4501 )
...
This commit applies and enforces Google's python style for tests.
2020-02-04 10:27:50 -08:00
Neal Jackson
45d78d7871
[build] change macOS bootstrapped GCC to official ARM brew tap ( #4514 )
...
Change to using ARM's official toolchain tap.
2020-01-29 22:14:17 -08:00
kangping
05ba4c29f4
[script] add ppa without user input ( #4474 )
2020-01-14 12:58:25 -08:00
kangping
420479d899
[script] fix linking clang-format-6.0 on Mac OS X ( #4414 )
2019-12-17 08:52:26 -08:00
Yakun Xu
862a2b3d02
[script] use python version specified in test script ( #4226 )
2019-10-08 09:29:27 -07:00
Yakun Xu
e4dc606ec8
[script] add a script to make source pretty ( #4167 )
...
This commit adds a script to make source pretty in a temporary
directory.
2019-09-16 18:08:29 -07:00
Rongli Sun
73ffd2a9dc
[thci] bug fixes and clean up the code style ( #3817 )
...
This commit squashes the approved updates, mainly include
1) bug fix or enhancement
- make pollperiod take effect
- fix the issue in finding the address of the specific address
(case-sensitive issue introduced in #3639 )
- make `__sendCommand` more robust for possible extra serial output
3) Update along with master code and other minor updates
- the command used to find specific address (#3856 )
- the IP6Prefix string len (from 20 to 19)
- correct typos
2) Code Style
- use single quotes for code
- update to use `print ()` and format `%`
- format via with `black` tool locally
`python3 -m black -l 79 -S tools/harness-thci -t py27`
- add travis python check example for THCI with `flake8` tool
notes: require OT code with #3856 (get specific address) and #3862 (`joiner id`)
2019-06-17 09:03:55 -07:00
Kamil Sroka
8c08fd8815
[build] rename ncp_radio to rcp ( #3580 )
2019-06-05 10:12:50 -07:00
Jonathan Hui
92e4d89f64
[travis] check/fix EOF newline on pretty/pretty-check ( #3671 )
2019-03-12 10:46:58 -07:00
Yakun Xu
16c904955a
[test] fix on macOS ( #3467 )
2019-01-17 02:58:35 -08:00
Yakun Xu
a42efee470
[script] add script to run cert tests ( #3397 )
2019-01-07 09:03:36 -08:00
Jonathan Hui
4ababdce2d
[bootstrap] install arm gcc toolchain on Raspbian ( #3392 )
2018-12-27 15:44:26 -08:00
Jonathan Hui
edb7982f02
[bootstrap] add -y option to apt-get install ( #3356 )
2018-12-10 11:43:13 -08:00
Yakun Xu
aa0c3a7a70
[script] clang-format bootstrap on macOS ( #3242 )
2018-10-31 10:18:08 -07:00
Jonathan Hui
7c5b15c877
[style] apply clang-format-6.0 changes ( #3222 )
2018-10-29 12:38:06 -07:00
Jonathan Hui
5e4be05907
[style] change to clang-format-6.0 ( #3222 )
2018-10-29 12:38:06 -07:00
Yakun Xu
131ae9d731
[code-style] enhance clang-format.sh ( #2750 )
2018-05-28 21:20:30 -07:00
Yakun Xu
ab55bece52
[code-style] require clang-format-5.0 ( #2645 )
2018-04-04 09:28:00 -07:00
Giuseppe Andreello
f14cf1361e
[code-style] make pretty-check output something better ( #2576 )
...
PRETTY cli.cpp
+clang-format -style=file ./cli.cpp
+diff ./cli.cpp -
1006,1009c1006,1009
< int id;
< const char *mgrName = otFIGetManagerName();
< const char *faultName = NULL;
< uint32_t faultCounter = 0;
---
> int id;
> const char *mgrName = otFIGetManagerName();
> const char *faultName = NULL;
> uint32_t faultCounter = 0;
make[2]: *** [pretty-check] Error 1
make[1]: *** [pretty-check-recursive] Error 1
make: *** [pretty-check-recursive] Error 1
+die
+echo *** ERROR:
2018-02-22 16:59:55 +00:00
Jonathan Hui
d3e9925b42
[code-style] change to clang-format
2018-02-09 21:43:42 +00:00
Jonathan Hui
d9b498079b
[setup] add basic macos tools ( #2332 )
2017-12-13 05:48:51 +00:00
Jonathan Hui
e98bbcc4e6
[bootstrap] reduce dependencies to bare minimum needed for building ( #2389 )
2017-12-06 16:48:43 +00:00
Neal Jackson
a8105f7fcc
[build] bootstrap libtool dependency documentation fix ( #2044 )
2017-08-16 09:56:51 -07:00