Otavio Pontes
50327fc9d3
Makefile: Change behavior of make check
...
Now make check is only running unit tests and a new target,
functional-check is used for bat tests. The major win on that
was that now we can use find to look for all bat tests in the
functional library and we don't need to keep the BATS list
updated.
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-11-18 15:48:10 -08:00
Otavio Pontes
16e8f01254
compliant: Also check for whitespaces in headers
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-25 14:48:53 -07:00
Otavio Pontes
a0cb9377f2
compliant: src/ directory was missing in compliant script
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-25 14:47:27 -07:00
Otavio Pontes
74868805ae
compliant: Provide more information when clang-format-9 fails
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-15 15:24:36 -07:00
Otavio Pontes
0f90dbaf07
Fix new reported compliant issues
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-10 09:08:57 -07:00
Otavio Pontes
2827914675
compliant: enforce sorted list of files in Makefile.am
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-04 16:05:21 -07:00
Otavio Pontes
bb1559ef6e
compliant: Add check for trailing whitespaces on tests
...
Note that the clang-format already does this for the source code
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-04 16:05:21 -07:00
Otavio Pontes
18978eed70
Makefile: Move code style check to a bats script
...
Just moving code from Makefile to a bats script to be easier to extend the
code style check
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-10-04 16:05:21 -07:00
Otavio Pontes
e148456c8a
test: Shellcheck tests should return an error on fails
...
Signed-off-by: Otavio Pontes <otavio.pontes@intel.com >
2019-07-12 16:32:18 -07:00