Simplify doxygen and libfile checks

pull/4516/head
Jimmy Brisson 2017-06-09 10:25:44 -05:00
parent 1d42134eba
commit 3161cf31d1
1 changed files with 3 additions and 4 deletions

View File

@ -2,18 +2,17 @@ python:
- "2.7"
script:
- mkdir BUILD && doxygen doxyfile_options
- mkdir BUILD
# Assert that the Doxygen build produced no warnings.
# The strange command below asserts that the Doxygen command had an
# output of zero length
- |
[ -z "`doxygen doxyfile_options 2>&1`" ]
- find -name "*.a" -and -not -name "lib*.a"
doxygen doxyfile_options 2>&1 | tee BUILD/doxygen.out && [ ! -s BUILD/doxygen.out ]
# Assert that all binary libraries are named correctly
# The strange command below asserts that there are exactly 0 libraries that do
# 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
- PYTHONPATH=. python tools/test/config_test/config_test.py
- PYTHONPATH=. python tools/test/build_api/build_api_test.py