This repository has been archived by the owner on Aug 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge commit da0e401 into mbed-events/events-c
da0e401 Updated README.md with information on tests/profiling dcb356a Cleaned up makefile ba0c701 Added rudimentary profiling 5ac2216 Added c99 pedantic test 312f9c2 Removed non-c99 conformant code 057e2a1 Defined behaviour of negative delays to discard event
- Loading branch information
Showing
5 changed files
with
415 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
script: | ||
# Strict compilation of library | ||
- CFLAGS='-pedantic -Werror' make | ||
|
||
# Runtime tests | ||
- make test | ||
|
||
# Relative profiling with current master | ||
- if ( git clone https://github.com/geky/events tests/master && | ||
make -s -C tests/master prof | tee tests/results.txt ) ; | ||
then | ||
cat tests/results.txt | make prof ; | ||
else | ||
make prof ; | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.