Skip to content
This repository has been archived by the owner on Aug 19, 2021. It is now read-only.

Commit

Permalink
Updated mbed-events/.travis.yml to support new tests
Browse files Browse the repository at this point in the history
- strict c99 pedantic test
- runtime tests
- rdtsc based profiling
  • Loading branch information
geky committed Jul 14, 2016
1 parent a132285 commit efd3259
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .travis.yml
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

0 comments on commit efd3259

Please sign in to comment.