Skip to content
This repository has been archived by the owner on May 3, 2019. It is now read-only.

Commit

Permalink
Use make test instead of running ctest
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDuquesnoy committed Jan 7, 2018
1 parent cf898fc commit c598be3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 14 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ Example build commands:
Make sure you've built MellowPlayer with -DBUILD_TEST.
```bash
cd build\tests
ctest -V
make test
```
# Contributing
Expand Down
8 changes: 2 additions & 6 deletions scripts/travis/commit-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make -j2;

# run tests
pushd tests;
catchsegv ctest --output-on-failure;
popd;
make test;
fi

if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
Expand All @@ -27,7 +25,5 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
make -j2;

# run tests
pushd tests;
ctest --output-on-failure;
popd;
make test;
fi
8 changes: 2 additions & 6 deletions scripts/travis/full-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make -j2;

# run all tests
pushd tests
ctest --output-on-failure;
popd;
make test;
src/main/MellowPlayer --auto-quit-delay 10000 --log-level 1;
src/main/MellowPlayer --auto-quit-delay 10000 --log-level 1 --service Deezer;

Expand All @@ -34,9 +32,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
make -j2;

# run all tests
pushd tests
ctest --output-on-failure;
popd
make test;

# create DMG
popd;
Expand Down

0 comments on commit c598be3

Please sign in to comment.