Commit Graph

11 Commits

Author SHA1 Message Date
Kavon Farvardin
ca25edb848 XFAIL parse_stdlib.sil temporarily 2024-03-14 23:10:44 -07:00
Robert Widmann
1afdb47271 Un-XFAIL Stdlib Validation Test 2022-03-15 21:07:57 -07:00
Andrew Trick
797461673f Temporarily disable long test parse_stdlib.sil
rdar://81658645 (Swift CI: 1. OSS - Swift (Tools Opt+Assert, Stdlib
Opt+DebInfo+Assert, Long Test) - macOS (main);
parse_stdlib.sil.tmp.sil: error: expected '>' in SIL instruction)
2021-08-07 15:19:01 -07:00
Jordan Rose
43feb9cbe1 On Apple platforms, use swiftmodule directories for the stdlib (#21797)
This changes the Swift resource directory from looking like

    lib/
      swift/
        macosx/
          libswiftCore.dylib
          libswiftDarwin.dylib
          x86_64/
            Swift.swiftmodule
            Swift.swiftdoc
            Darwin.swiftmodule
            Darwin.swiftdoc

to

    lib/
      swift/
        macosx/
          libswiftCore.dylib
          libswiftDarwin.dylib
          Swift.swiftmodule/
            x86_64.swiftmodule
            x86_64.swiftdoc
          Darwin.swiftmodule/
            x86_64.swiftmodule
            x86_64.swiftdoc

matching the layout we use for multi-architecture swiftmodules
everywhere else (particularly frameworks).

There's no change in this commit to how Linux swiftmodules are
packaged. There's been past interest in going the /opposite/ direction
for Linux, since there's not standard support for fat
(multi-architecture) .so libraries. Moving the .so search path /down/
to an architecture-specific directory on Linux would allow the same
resource directory to be used for both host-compiling and
cross-compiling.

rdar://problem/43545560
2019-02-19 14:47:21 -08:00
Michael Gottesman
fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00
Michael Ilseman
1f9ff2a2e7 [test] un-XFAIL passing parse_stdlib test.
The problematic class no longer exists, so the test passes.
2018-11-06 09:20:48 -08:00
Graydon Hoare
8b8d0a2c6a Restrict a recent XFAILing long_test to assert configurations, rdar://38631299. 2018-03-19 16:00:23 -07:00
Jordan Rose
8dad8994c1 [test] Disable parse_stdlib.sil on Apple platforms to unblock builders (#14098)
Tracked within Apple by <rdar://problem/36754225> Swift CI:
parse_stdlib.sil tests failing with vtable verification. The error is
an assertion failure that we haven't traced back to its cause yet:

    Assertion failed: (EntriesSZ == VTableEntryCache.size() && "Cache
    size is not equal to true number of VTable entries"), function
    verify, file /Users/buildnode/jenkins/workspace/
    oss-swift-package-osx/swift/lib/SIL/SILVerifier.cpp, line 4747.
2018-01-24 08:45:09 -08:00
Doug Gregor
5be25a690c Re-enable parse_stdlib test 2017-11-02 07:16:29 -07:00
Doug Gregor
00801f4c80 Disable the parse_stdlib test, again.
Recent work on witness tables broke it. We're (still) tracking this failure
via rdar://problem/34771322.
2017-11-01 16:09:35 -07:00
Doug Gregor
dfa9982edd Collapse the 17 “parse_stdlib” tests into a single test.
The sharding of this test buys us nothing, because it was only sharding
the AST verifier, which is an insignificant portion of the runtime
(and memory usage) of this test. Given that the test takes ~2m30s to run
and consumes > 2GB memory, having 17 copies of it running is a problem.
2017-11-01 16:02:20 -07:00