[Cdash] [cdash, ctest]compiler warnings are transformed into something hard to read

Maik Beckmann beckmann.maik at googlemail.com
Tue Nov 10 19:45:58 UTC 2009


hm, looks like LC_MESSAGES=C isn't enough, all compiler output has to be ascii.
LANG=C works.

Knowing this, I like to point out that on this site
  http://www.cmake.org/Wiki/CMake_Scripting_Of_CTest
this statement
  SET( $ENV{LC_MESSAGES}    "en_EN" )
beside from it having to be
  SET( ENV{LC_MESSAGES}    "en_EN" )
isn't sufficient.

I'll try something like this

set(LANG_bak ENV{LANG})
set(ENV{LANG} C)
ctest_start(${FALCON_CTEST_TYPE})
ctest_update(SOURCE "${CTEST_SOURCE_DIRECTORY}")
ctest_configure(BUILD "${CTEST_BINARY_DIRECTORY}")
ctest_build(BUILD "${CTEST_BINARY_DIRECTORY}")

set(ENV{LANG} ${LANG_bak})
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}") # tests that use LANG


Best,
 -- Maik



More information about the CDash mailing list