From 934ad741a79b84efeb89d9f73d57945409baa0a2 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 14 Aug 2017 17:18:46 +0200 Subject: [PATCH] tests: keep check-themes separate from check-integration (#1991) Ref: https://github.com/awesomeWM/awesome/pull/1973#issuecomment-322183782 --- .travis.yml | 4 +++- CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 40a1ee9f..80c352db 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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. diff --git a/CMakeLists.txt b/CMakeLists.txt index 558b282e..523b0f7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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"