[swift-users] cmark test failure when trying to run Swift tests

Carlos Liam carlos at aarzee.me
Fri Dec 4 10:29:23 CST 2015


I'm experimenting with building and testing Swift on my Mac running OS X 10.11.1, but every time I run build-script -T (or -t), the output ends with this:

--- Building tests for cmark ---
+ /usr/local/bin/cmake --build /Users/aarzee/swiftdir/build/Ninja-ReleaseAssert/cmark-macosx-x86_64 -- api_test
ninja: no work to do.
--- Running tests for cmark ---
--- test ---
+ cd /Users/aarzee/swiftdir/build/Ninja-ReleaseAssert/cmark-macosx-x86_64
+ /usr/local/Cellar/cmake/3.4.0/bin/ctest --force-new-ctest-process
Test project /Users/aarzee/swiftdir/build/Ninja-ReleaseAssert/cmark-macosx-x86_64
    Start 1: api_test
1/6 Test #1: api_test .........................   Passed    0.01 sec
    Start 2: html_normalization
2/6 Test #2: html_normalization ...............***Failed    0.20 sec
    Start 3: spectest_library
3/6 Test #3: spectest_library .................***Failed    0.10 sec
    Start 4: pathological_tests_library
4/6 Test #4: pathological_tests_library .......   Passed    0.77 sec
    Start 5: spectest_executable
5/6 Test #5: spectest_executable ..............***Failed    0.08 sec
    Start 6: smartpuncttest_executable
6/6 Test #6: smartpuncttest_executable ........***Failed    0.08 sec

33% tests passed, 4 tests failed out of 6

Total Test time (real) =   1.27 sec

The following tests FAILED:
	  2 - html_normalization (Failed)
	  3 - spectest_library (Failed)
	  5 - spectest_executable (Failed)
	  6 - smartpuncttest_executable (Failed)
Errors while running CTest
*** Failed while running tests for cmark (test)
swift/utils/build-script: command terminated with a non-zero exit status 8, aborting


I haven't modified any files from how they exist in git, and I'm using the swift-prefixed versions of LLVM and Clang.

Is there something I should try to fix this? I would appreciate any assistance. Thank you.


 - CL



More information about the swift-users mailing list