mirror of
https://github.com/xenia-project/xenia.git
synced 2024-12-02 16:47:01 +00:00
Disable Edit and Continue for test suites.
Disable Edit and Continue for test suites. Edit and Continue in MSVC can cause the __LINE__ macro to produce invalid values, which breaks the usability of Catch2 output on failed tests.
This commit is contained in:
parent
89e26d7b2b
commit
2ac388527b
@ -34,6 +34,11 @@ local function combined_test_suite(test_suite_name, project_root, base_path, con
|
||||
project_root.."/src/xenia/base/main_"..platform_suffix..".cc",
|
||||
base_path.."/**_test.cc",
|
||||
})
|
||||
filter("toolset:msc")
|
||||
-- Edit and Continue in MSVC can cause the __LINE__ macro to produce
|
||||
-- invalid values, which breaks the usability of Catch2 output on
|
||||
-- failed tests.
|
||||
editAndContinue("Off")
|
||||
end
|
||||
|
||||
local function split_test_suite(test_suite_name, project_root, base_path, config)
|
||||
@ -58,6 +63,11 @@ local function split_test_suite(test_suite_name, project_root, base_path, config
|
||||
project_root.."/"..build_tools_src.."/test_suite_main.cc",
|
||||
file_path,
|
||||
})
|
||||
filter("toolset:msc")
|
||||
-- Edit and Continue in MSVC can cause the __LINE__ macro to produce
|
||||
-- invalid values, which breaks the usability of Catch2 output on
|
||||
-- failed tests.
|
||||
editAndContinue("Off")
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user