cmake: Do not hard-code test arguments

Tests should follow their default output of txt as when run directly,
and any output configuration should be handled by the CI system.

Change-Id: Id0d72318df5edad1c58ac637e827d6043884e829
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
Tor Arne Vestbø 2021-02-10 16:06:00 +01:00
parent 5de72ac915
commit f66482a4ab

View File

@ -293,11 +293,6 @@ function(qt_internal_add_test name)
endif()
set(test_executable "${name}")
endif()
if (NOT arg_CATCH)
#TODO: Should we replace this by TESTARGS environment variable?
list(APPEND extra_test_args "-o" "${name}.xml,xml" "-o" "-,txt")
endif()
endif()
qt_internal_collect_command_environment(test_env_path test_env_plugin_path)