Skip to content

Commit

Permalink
travis: Run unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed Apr 13, 2017
1 parent 93aec01 commit 66035da
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion travis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ build:
cd build-tests && cmake ../tests
make -C build-tests

build_gcc: build build_unit_tests build_reference
build_gcc: build run_unit_tests build_reference
sudo rm -rf ${chroot}/tmp/kcov/build ${chroot}/tmp/kcov/build-tests
sudo mkdir -p ${chroot}/tmp/kcov/build ${chroot}/tmp/kcov/build-tests ${chroot}/tmp/kcov/build-tools
sudo i386 chroot ${chroot} sh -c "cd /tmp/kcov/build && cmake .."
Expand Down Expand Up @@ -87,6 +87,9 @@ build_unit_tests: trompeloeil
cd build-ut && CXX=g++-6 CC=gcc-6 cmake ../tests/unit-tests/
CXX=g++-6 CC=gcc-6 make -C build-ut

run_unit_tests: build build_unit_tests
cd build-ut && ./ut

run-tests-osx-gcc: build-osx
tests/tools/run-tests build/src/kcov /tmp/ build-tests/ `pwd` -v

Expand Down

0 comments on commit 66035da

Please sign in to comment.