Skip to content

Commit 80eb306

Browse files
committed
Skip min_supported_value_length on Windows
Appveyor runs never complete that test, so skip it.
1 parent ce210ef commit 80eb306

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.appveyor.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,10 @@ test_script:
9696
# Run the core tests
9797
- ctest . --output-on-failure -C Debug
9898

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

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

tests/core/CTestCustom.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ if(WIN32 AND (NOT "$ENV{RUN_UTF8}"))
3232
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} g_utf_8_char)
3333
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} utf_8_char)
3434
endif()
35+
36+
# Skip min_supported_value_length on Windows since that test seems to
37+
# cause Appveyor to hang.
38+
if(WIN32)
39+
message(WARNING "Skipping min_supported_value_length test on this platform")
40+
set(CTEST_CUSTOM_TESTS_IGNORE ${CTEST_CUSTOM_TESTS_IGNORE} min_supported_value_length)
41+
endif()

0 commit comments

Comments
 (0)