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

Commit efd3259

Browse files
committed
Updated mbed-events/.travis.yml to support new tests
- strict c99 pedantic test - runtime tests - rdtsc based profiling
1 parent a132285 commit efd3259

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.travis.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
script:
22
- cd events-c
3+
4+
# Strict compilation of library
5+
- CFLAGS='-pedantic -Werror' make
6+
7+
# Runtime tests
38
- make test
9+
10+
# Relative profiling with current master
11+
- if ( git clone https://github.com/armmbed/mbed-events tests/master &&
12+
make -s -C tests/master/$(basename $(pwd)) prof | tee tests/results.txt ) ;
13+
then
14+
cat tests/results.txt | make prof ;
15+
else
16+
make prof ;
17+
fi

0 commit comments

Comments
 (0)