From d5e1b4889fabe34e49f6089f589f8984e5ab4cc1 Mon Sep 17 00:00:00 2001 From: "Eric D." Date: Thu, 9 Nov 2023 13:47:57 +0100 Subject: [PATCH] Added back the problem file - now with the correct type --- .../tests/cbc/divers/CMakeLists.txt | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 metrix-simulator/tests/cbc/divers/CMakeLists.txt diff --git a/metrix-simulator/tests/cbc/divers/CMakeLists.txt b/metrix-simulator/tests/cbc/divers/CMakeLists.txt new file mode 100644 index 000000000..7484afc9a --- /dev/null +++ b/metrix-simulator/tests/cbc/divers/CMakeLists.txt @@ -0,0 +1,41 @@ +# +# Copyright (c) 2021, RTE (http://www.rte-france.com) +# See AUTHORS.txt +# All rights reserved. +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, you can obtain one at http://mozilla.org/MPL/2.0/. +# SPDX-License-Identifier: MPL-2.0 +# + +MESSAGE("General purpose tests...") + +set(TEST_DIR_NAME divers) +set(TEST_DIR ${MAIN_TEST_DIR}/${TEST_DIR_NAME}) +set(EXPECTED_TEST_DIR ${MAIN_TEST_DIR}_reference/${TEST_DIR_NAME}) + +metrix_test("encodage_utf8" 2) +metrix_test("probleme_bornes_ecart_1" 1) +metrix_test("probleme_bornes_ecart_2" 2) +metrix_test_check_only_results("contrainte_sans_action_possible_opf" 2) # no check metrix out because CI has a different result depending on test duration +if(METRIX_RUN_ALL_TESTS) +metrix_test("contraintes_sans_action_possible" 1) +endif() +metrix_test("tres_long" 2) +metrix_test("tout_fixe" 2) +metrix_test("tout_fixe_hr" 3) +metrix_test("resultats_equilibrage_et_variations_marginales" 4) +metrix_test("variations_marginales" 3) +metrix_test("variations_marginales_with_offset" 3) +metrix_test("variations_marginales_sur_parades" 3) +metrix_test("variations_marginales_several_bconstraints" 2) +metrix_test_check_only_results("temps_calcul_pne" 1) # no check metrix out because ortools has an equivalent result during optimization and timeout reaching depends on hardware device +if(METRIX_RUN_ALL_TESTS) +metrix_test("bug_pne" 2) +metrix_test("gen_cost_sans_vm" 2) +endif() +if(METRIX_RUN_ALL_TESTS) +metrix_test("resultats_surcharges_uniquement" 10) +endif() +metrix_test_no_check("transits_sur_incidents" 1) # no output check because of random display order +metrix_test("redispatching_offset" 3)