Skip to content

Commit

Permalink
[roottest] Remove the WILL_FAIL flag on RooDataSet_ASCII_out for …
Browse files Browse the repository at this point in the history
…recent VS 2022 (#1055)

* [roottest] Remove the `WILL_FAIL` flag on `RooDataSet_ASCII_out` for recent VS 2022

* Fix the VS2022 version
  • Loading branch information
bellenot authored Feb 9, 2024
1 parent f09afcf commit c894ff6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions root/roofitstats/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,18 @@ if(ROOT_roofit_FOUND)
ROOTTEST_ADD_TEST(RooDataSet_ASCII_in
MACRO ${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out.C
MACROARG "false, \"${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out_data.txt\"")
if(MSVC AND MSVC_VERSION LESS 1938)
ROOTTEST_ADD_TEST(RooDataSet_ASCII_out
MACRO ${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out.C
MACROARG "true, \"./ASCII-in-out_result.txt\""
${WILLFAIL_ON_WIN32}
POSTCMD diff ${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out_data.txt ./ASCII-in-out_result.txt)
else()
ROOTTEST_ADD_TEST(RooDataSet_ASCII_out
MACRO ${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out.C
MACROARG "true, \"./ASCII-in-out_result.txt\""
POSTCMD diff ${CMAKE_CURRENT_SOURCE_DIR}/ASCII-in-out_data.txt ./ASCII-in-out_result.txt)
endif()

ROOT_ADD_GTEST(stabilityTests stabilityTests.cxx LIBRARIES ROOT::RooFit
COPY_TO_BUILDDIR ${CMAKE_CURRENT_SOURCE_DIR}/stabilityTests_data_1.root)
Expand Down

0 comments on commit c894ff6

Please sign in to comment.