cmake: do not print used method (EVENT_SHOW_METHOD) while running tests

autotools don't, plus this will make CI logs cleaner

(cherry picked from commit f8a6f12712e775720b36e0c4375a5fd6870bb737)
This commit is contained in:
Azat Khuzhin 2020-01-13 22:24:54 +03:00
parent 70ac214476
commit 677378ea42

View File

@ -1236,7 +1236,7 @@ if (NOT EVENT__DISABLE_TESTS)
# Default environment variables turns off all event systems,
# then we enable each one, one at a time when creating the tests.
set(DEFAULT_TEST_ENV_VARS "EVENT_SHOW_METHOD=1;")
set(DEFAULT_TEST_ENV_VARS)
foreach(BACKEND ${BACKENDS})
set(BACKEND_ENV_VAR "EVENT_NO${BACKEND}=1")
list(APPEND DEFAULT_TEST_ENV_VARS "${BACKEND_ENV_VAR}")