tests: keep check-themes separate from check-integration (#1991)
Ref: https://github.com/awesomeWM/awesome/pull/1973#issuecomment-322183782
This commit is contained in:
parent
bfe58d65f1
commit
934ad741a7
|
@ -185,7 +185,7 @@ script:
|
||||||
travis_run_in_fold "make.install" sudo env PATH=$PATH make install
|
travis_run_in_fold "make.install" sudo env PATH=$PATH make install
|
||||||
awesome --version
|
awesome --version
|
||||||
fi
|
fi
|
||||||
# Run check-unit{,-coverage} and check-integration.
|
# Run checks.
|
||||||
- |
|
- |
|
||||||
set -ex
|
set -ex
|
||||||
if [ "$TRAVIS_TEST_RESULT" = 0 ]; then
|
if [ "$TRAVIS_TEST_RESULT" = 0 ]; then
|
||||||
|
@ -201,6 +201,7 @@ script:
|
||||||
make check-unit-coverage || exit 1
|
make check-unit-coverage || exit 1
|
||||||
do_codecov unittests
|
do_codecov unittests
|
||||||
make check-integration || exit 1
|
make check-integration || exit 1
|
||||||
|
make check-themes || exit 1
|
||||||
do_codecov functionaltests
|
do_codecov functionaltests
|
||||||
do_codecov_gcov c_code
|
do_codecov_gcov c_code
|
||||||
|
|
||||||
|
@ -208,6 +209,7 @@ script:
|
||||||
else
|
else
|
||||||
travis_run_in_fold "make.check-unit" make check-unit
|
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-integration" make check-integration
|
||||||
|
travis_run_in_fold "make.check-themes" make check-themes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Run check-qa.
|
# Run check-qa.
|
||||||
|
|
|
@ -408,7 +408,7 @@ add_custom_target(check-themes
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
DEPENDS generated_icons generate_awesomerc ${PROJECT_AWE_NAME}
|
DEPENDS generated_icons generate_awesomerc ${PROJECT_AWE_NAME}
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
add_dependencies(check-integration check-themes)
|
list(APPEND CHECK_TARGETS check-themes)
|
||||||
|
|
||||||
add_custom_target(check-requires
|
add_custom_target(check-requires
|
||||||
lua "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua"
|
lua "${CMAKE_SOURCE_DIR}/build-utils/check_for_invalid_requires.lua"
|
||||||
|
|
Loading…
Reference in New Issue