Assert that assembler files are named correctly in travis

pull/4596/head
Jimmy Brisson 2017-06-20 14:47:41 -05:00 committed by Martin Kojtal
parent c28f7bf819
commit a7f6fd4518
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ script:
# not start with lib
- |
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" | tee BUILD/badlibs | sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
# Assert that all assebler files are named correctly
# The strange command below asserts that there are exactly 0 libraries that do
# end with .s
- |
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
- 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