Skip to content

Commit

Permalink
Skip min_supported_value_length on Windows
Browse files Browse the repository at this point in the history
Appveyor runs never complete that test, so skip it.
  • Loading branch information
cxw42 committed Jan 21, 2023
1 parent ce210ef commit 80eb306
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,10 @@ test_script:
# Run the core tests
- ctest . --output-on-failure -C Debug

# CTestCustom specifies skipping UTF-8 tests on Windows.
- cmd: echo "Reminder - did not try UTF-8"
- sh: echo "Reminder - tried UTF-8"
# CTestCustom specifies skipping some tests on Windows.
- cmd: echo "Reminder - skipped some tests"

on_failure:
- echo "failed"
- cmd: type tests\core\build\Testing\Temporary\LastTest.log
- sh: cat tests/core/build/Testing/Temporary/LastTest.log

7 changes: 7 additions & 0 deletions tests/core/CTestCustom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ if(WIN32 AND (NOT "$ENV{RUN_UTF8}"))
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} g_utf_8_char)
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} utf_8_char)
endif()

# Skip min_supported_value_length on Windows since that test seems to
# cause Appveyor to hang.
if(WIN32)
message(WARNING "Skipping min_supported_value_length test on this platform")
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} min_supported_value_length)
endif()

0 comments on commit 80eb306

Please sign in to comment.