mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-27 07:30:33 +08:00
Remove sensitive info being sent to standard output when using ctest scripts.
This commit is contained in:
parent
4615695091
commit
dcad99082d
@ -267,8 +267,8 @@ IF(CMAKE_COMPILER_IS_GNUCC OR APPLE)
|
||||
|
||||
# Coverage tests need to have optimization turned off.
|
||||
IF(ENABLE_COVERAGE_TESTS)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O0 -fprofile-arcs -ftest-coverage")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs -ftest-coverage")
|
||||
SET(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -g -O0 -coverage -fprofile-arcs -ftest-coverage")
|
||||
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fprofile-arcs")
|
||||
MESSAGE(STATUS "Coverage Tests: On.")
|
||||
ENDIF()
|
||||
|
||||
|
@ -10,7 +10,11 @@ SET(CTEST_SOURCE_DIRECTORY "..")
|
||||
SET(CTEST_BINARY_DIRECTORY ".")
|
||||
|
||||
set(CDASH_TOKEN $ENV{CDASH_TOKEN})
|
||||
MESSAGE("Using cdash token: ${CDASH_TOKEN}")
|
||||
IF (CDASH_TOKEN)
|
||||
MESSAGE("CDASH TOKEN FOUND")
|
||||
ELSE (CDASH_TOKEN)
|
||||
MESSAGE("NO CDASH TOKEN FOUND")
|
||||
ENDIF (CDASH_TOKEN)
|
||||
|
||||
|
||||
SITE_NAME(local_site_name)
|
||||
|
@ -10,7 +10,11 @@ SET(CTEST_SOURCE_DIRECTORY "..")
|
||||
SET(CTEST_BINARY_DIRECTORY ".")
|
||||
|
||||
set(CDASH_TOKEN $ENV{CDASH_TOKEN})
|
||||
MESSAGE("Using cdash token: ${CDASH_TOKEN}")
|
||||
IF (CDASH_TOKEN)
|
||||
MESSAGE("CDASH TOKEN FOUND")
|
||||
ELSE (CDASH_TOKEN)
|
||||
MESSAGE("NO CDASH TOKEN FOUND")
|
||||
ENDIF (CDASH_TOKEN)
|
||||
|
||||
|
||||
SITE_NAME(local_site_name)
|
||||
|
@ -10,7 +10,11 @@ SET(CTEST_SOURCE_DIRECTORY "..")
|
||||
SET(CTEST_BINARY_DIRECTORY ".")
|
||||
|
||||
set(CDASH_TOKEN $ENV{CDASH_TOKEN})
|
||||
MESSAGE("Using cdash token: ${CDASH_TOKEN}")
|
||||
IF (CDASH_TOKEN)
|
||||
MESSAGE("CDASH TOKEN FOUND")
|
||||
ELSE (CDASH_TOKEN)
|
||||
MESSAGE("NO CDASH TOKEN FOUND")
|
||||
ENDIF (CDASH_TOKEN)
|
||||
|
||||
|
||||
SITE_NAME(local_site_name)
|
||||
|
Loading…
Reference in New Issue
Block a user