Skip to content

Commit 307a2ff

Browse files
committed
Assert that assembler files are named correctly in travis
1 parent 226af54 commit 307a2ff

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ script:
1313
# not start with lib
1414
- |
1515
find "(" -name "*.a" -or -name "*.ar" ")" -and -not -name "lib*" | tee BUILD/badlibs | sed -e "s/^/Bad library name found: /" && [ ! -s BUILD/badlibs ]
16+
# Assert that all assebler files are named correctly
17+
# The strange command below asserts that there are exactly 0 libraries that do
18+
# end with .s
19+
- |
20+
find -name "*.s" | tee BUILD/badasm | sed -e "s/^/Bad Assembler file name found: /" && [ ! -s BUILD/badasm ]
1621
- make -C events/equeue test clean
1722
- PYTHONPATH=. python tools/test/config_test/config_test.py
1823
- PYTHONPATH=. python tools/test/build_api/build_api_test.py

0 commit comments

Comments
 (0)