tests: keep check-themes separate from check-integration (#1991)

Ref: https://github.com/awesomeWM/awesome/pull/1973#issuecomment-322183782
This commit is contained in:
Daniel Hahler 2017-08-14 17:18:46 +02:00 committed by GitHub
parent bfe58d65f1
commit 934ad741a7
2 changed files with 4 additions and 2 deletions

View File

@ -185,7 +185,7 @@ script:
travis_run_in_fold "make.install" sudo env PATH=$PATH make install
awesome --version
fi
# Run check-unit{,-coverage} and check-integration.
# Run checks.
- |
set -ex
if [ "$TRAVIS_TEST_RESULT" = 0 ]; then
@ -201,6 +201,7 @@ script:
make check-unit-coverage || exit 1
do_codecov unittests
make check-integration || exit 1
make check-themes || exit 1
do_codecov functionaltests
do_codecov_gcov c_code
@ -208,6 +209,7 @@ script:
else
travis_run_in_fold "make.check-unit" make check-unit
travis_run_in_fold "make.check-integration" make check-integration
travis_run_in_fold "make.check-themes" make check-themes
fi
fi
# Run check-qa.

View File

@ -408,7 +408,7 @@ add_custom_target(check-themes
USES_TERMINAL
DEPENDS generated_icons generate_awesomerc ${PROJECT_AWE_NAME}
VERBATIM)
add_dependencies(check-integration check-themes)
list(APPEND CHECK_TARGETS check-themes)
add_custom_target(check-requires
lua "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua"