mirror of https://github.com/ARMmbed/mbed-os.git
Simplify doxygen and libfile checks
parent
1d42134eba
commit
3161cf31d1
|
@ -2,18 +2,17 @@ python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir BUILD && doxygen doxyfile_options
|
- mkdir BUILD
|
||||||
# Assert that the Doxygen build produced no warnings.
|
# Assert that the Doxygen build produced no warnings.
|
||||||
# The strange command below asserts that the Doxygen command had an
|
# The strange command below asserts that the Doxygen command had an
|
||||||
# output of zero length
|
# output of zero length
|
||||||
- |
|
- |
|
||||||
[ -z "`doxygen doxyfile_options 2>&1`" ]
|
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
|
||||||
- find -name "*.a" -and -not -name "lib*.a"
|
|
||||||
# Assert that all binary libraries are named correctly
|
# Assert that all binary libraries are named correctly
|
||||||
# The strange command below asserts that there are exactly 0 libraries that do
|
# The strange command below asserts that there are exactly 0 libraries that do
|
||||||
# not start with lib
|
# not start with lib
|
||||||
- |
|
- |
|
||||||
[ -z '`find -name "*.a" -and -not -name "lib*.a"`' ]
|
find -name "*.a" -and -not -name "lib*" | tee BUILD/badlibs && [ ! -s BUILD/badlibs ]
|
||||||
- make -C events/equeue test clean
|
- make -C events/equeue test clean
|
||||||
- PYTHONPATH=. python tools/test/config_test/config_test.py
|
- PYTHONPATH=. python tools/test/config_test/config_test.py
|
||||||
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
|
- PYTHONPATH=. python tools/test/build_api/build_api_test.py
|
||||||
|
|
Loading…
Reference in New Issue