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 pull request #4 from ARMmbed/tests
Add additional tests/profiling
- Loading branch information
Showing
6 changed files
with
429 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,3 +1,17 @@ | ||
script: | ||
- cd events-c | ||
|
||
# Strict compilation of library | ||
- CFLAGS='-pedantic -Werror' make | ||
|
||
# Runtime tests | ||
- make test | ||
|
||
# Relative profiling with current master | ||
- if ( git clone https://github.com/armmbed/mbed-events tests/master && | ||
make -s -C tests/master/$(basename $(pwd)) 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
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.