mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-17 21:13:42 +00:00
speed up cppcheck
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
#define CHAR_BIT 8
|
#define CHAR_BIT 8
|
||||||
#define WITH_GPIO
|
#define WITH_GPIO
|
||||||
#define JANUS_PLUGIN_INIT(...) { __VA_ARGS__ }
|
#define JANUS_PLUGIN_INIT(...) { __VA_ARGS__ }
|
||||||
|
#define EVTHREAD_USE_PTHREADS_IMPLEMENTED 1
|
||||||
|
#define CLOCK_MONOTONIC_RAW 1
|
||||||
|
#define CLOCK_MONOTONIC_FAST 1
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ changedir = /src
|
|||||||
[testenv:cppcheck]
|
[testenv:cppcheck]
|
||||||
whitelist_externals = cppcheck
|
whitelist_externals = cppcheck
|
||||||
commands = cppcheck \
|
commands = cppcheck \
|
||||||
|
-j4 \
|
||||||
--force \
|
--force \
|
||||||
--std=c11 \
|
--std=c11 \
|
||||||
--error-exitcode=1 \
|
--error-exitcode=1 \
|
||||||
@@ -19,7 +20,7 @@ commands = cppcheck \
|
|||||||
--inline-suppr \
|
--inline-suppr \
|
||||||
--library=python \
|
--library=python \
|
||||||
--include=linters/cppcheck.h \
|
--include=linters/cppcheck.h \
|
||||||
src python/ustreamer.c janus/rtp.h janus/rtp.c janus/plugin.c
|
src python/*.? janus/*.?
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
|
|||||||
Reference in New Issue
Block a user