[swift-users] Swift is building from source, failing tests.

Dylan Brown djwbrown at gmail.com
Fri Dec 11 13:12:56 CST 2015


Hello! When running `utils/build-script --clean -t`, I'm able to complete
the build but it regularly fails the same 4/6 tests. Also, check-swift and
check-swift-validation are not found in the build directory alongside
Ninja-DebugAssert.
I've been working at this for a while, and I'm not sure where to look next.
Any ideas what could be going wrong?

Thanks!
Dylan

  Python 2.7.10
Installed with homebrew:
  ninja version 1.6.0
  cmake version 3.4.0

********** Output of `utils/build-script --clean -t` **********
build succeeded.
[646/646] Generating ../../../lib/swift/macosx/libswiftStdlibUnittest.dylib
--- Building tests for cmark ---
+ /usr/local/bin/cmake --build
/Users/dylan/Developer/Swift/build/Ninja-DebugAssert/cmark-macosx-x86_64 --
api_test
ninja: no work to do.
--- Running tests for cmark ---
--- test ---
+ cd
/Users/dylan/Developer/Swift/build/Ninja-DebugAssert/cmark-macosx-x86_64
+ /usr/local/Cellar/cmake/3.4.0/bin/ctest --force-new-ctest-process
Test project
/Users/dylan/Developer/Swift/build/Ninja-DebugAssert/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.09 sec
    Start 3: spectest_library
3/6 Test #3: spectest_library .................***Failed    0.06 sec
    Start 4: pathological_tests_library
4/6 Test #4: pathological_tests_library .......   Passed    0.87 sec
    Start 5: spectest_executable
5/6 Test #5: spectest_executable ..............***Failed    0.06 sec
    Start 6: smartpuncttest_executable
6/6 Test #6: smartpuncttest_executable ........***Failed    0.06 sec

33% tests passed, 4 tests failed out of 6

Total Test time (real) =   1.15 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)
utils/build-script: command terminated with a non-zero exit status 8,
aborting
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151211/c9b4f0a1/attachment.html>


More information about the swift-users mailing list