diff --git a/cpp/libmps_parser/tests/CMakeLists.txt b/cpp/libmps_parser/tests/CMakeLists.txt index 2d86a1da18..7de1739fac 100644 --- a/cpp/libmps_parser/tests/CMakeLists.txt +++ b/cpp/libmps_parser/tests/CMakeLists.txt @@ -53,4 +53,5 @@ endfunction() ConfigureTest(MPS_PARSER_TEST mps_parser_test.cpp ) + set_tests_properties(MPS_PARSER_TEST PROPERTIES LABELS "numopt") ################################################################################################### diff --git a/cpp/tests/CMakeLists.txt b/cpp/tests/CMakeLists.txt index a73a3361ce..4e225270b1 100644 --- a/cpp/tests/CMakeLists.txt +++ b/cpp/tests/CMakeLists.txt @@ -1,4 +1,4 @@ -# cmake-format: off +# cmake-format: off # SPDX-FileCopyrightText: Copyright (c) 2021-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # cmake-format: on @@ -34,8 +34,12 @@ endif() set(CUOPT_TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}) # ################################################################ ------------------------------------------------------------------ +# ConfigureTest(NAME source1.cu source2.cu [LABELS label1 label2 ...]) +# +# LABELS sets CTest labels for selective local test execution via `ctest -L