swift
506a701a - Make back-deployed concurrency library testable on OS's that have the library.

Comment changes are shownComment changes are hidden
Commit
3 years ago
Make back-deployed concurrency library testable on OS's that have the library. Change the order of paths provided for `DYLD_LIBRARY_PATH` when running tests for the back-deployed concurrency library, so they supersede the ones in `/usr/lib/swift`. This way, we can test the back-deployed concurrency library even on OS's that have the concurrency library in them. It's not a complete test, because the standard library and runtime will still vary, but can reproduce many failures more easily. When using the back-deployed concurrency library, set the lit feature `back_deploy_concurrency`. Update some tests that are unsupported with back-deployment to check this. Finally, add some logging when the concurrency runtime cannot be tested at all, to help with debugging CI in the future. (cherry picked from commit 7589520f7c9ac323dc0aed92451e2f386272783c)
Author
Committer
Parents
  • test
    • Concurrency
      • Runtime
        • File
          exclusivity.swift
        • File
          exclusivity_custom_executors.swift
      • File
        async_task_base_priority.swift
      • File
        async_task_priority.swift
    • File
      lit.cfg