mirror of
https://github.com/Kitware/CMake.git
synced 2025-06-21 20:11:22 +08:00

Add `--test-output-truncation` to `ctest`. This option can be used to customize which part of the test output is being truncated. Currently supported values are `tail`, `middle` and `head`. Also add equivalent `CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION` variable. Fixes: #23206
17 lines
325 B
C++
17 lines
325 B
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
|
|
#pragma once
|
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
|
|
|
namespace cmCTestTypes {
|
|
|
|
enum class TruncationMode
|
|
{ // Test output truncation mode
|
|
Tail,
|
|
Middle,
|
|
Head
|
|
};
|
|
}
|