Skip to content

Commit de73265

Browse files
author
thk123
committed
Add unit tests to the CI files
Added running unit tests to the Travis and AppVeyor yml files
1 parent 3391d45 commit de73265

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ script:
152152
- if [ -e bin/gcc ] ; then export PATH=$PWD/bin:$PATH ; fi ;
153153
COMMAND="env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test" &&
154154
eval ${PRE_COMMAND} ${COMMAND}
155+
- COMMAND="make -C unit CXX=\"$COMPILER\" CXXFLAGS=\"$FLAGS $EXTRA_CXXFLAGS\" -j2" &&
156+
eval ${PRE_COMMAND} ${COMMAND}
157+
- COMMAND="make -C unit test" && eval ${PRE_COMMAND} ${COMMAND}
155158

156159
before_cache:
157160
- ccache -s

appveyor.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,7 @@ test_script:
108108
rmdir /s /q goto-instrument\slice08
109109
110110
make test
111+
112+
cd ..
113+
make -C unit all
114+
make -C unit test

0 commit comments

Comments
 (0)