Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-1047] Run xctest_checker.py tests as part of XCTest tests #399

Closed
modocache mannequin opened this issue Mar 24, 2016 · 2 comments
Closed

[SR-1047] Run xctest_checker.py tests as part of XCTest tests #399

modocache mannequin opened this issue Mar 24, 2016 · 2 comments

Comments

@modocache
Copy link
Mannequin

modocache mannequin commented Mar 24, 2016

Previous ID SR-1047
Radar None
Original Reporter @modocache
Type Improvement
Status Closed
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s XCTest
Labels Improvement, StarterBug
Assignee t_martinho (JIRA)
Priority Medium

md5: 3e4c771b76e6529a0d1d3fb05cab6efb

Issue Description:

swift-corelibs-xctest uses a Python program called xctest_checker to run its functional test suite. That program itself has unit tests, written in Python.

These unit tests should be run as part of the greater XCTest test suite. This is probably possible by modifying the lit.cfg in the swift-corelibs-xctest project such that it picks up on a file with a RUN: directive that triggers the Python tests. See apple/swift#778 for an example.

See llvm.org/docs/CommandGuide/lit.html for additional details on lit--it's the test runner for Swift, LLVM, and other projects, so it's nice to know about it.

@swift-ci
Copy link

swift-ci commented Oct 6, 2017

Comment by Tiago Martinho (JIRA)

Hello Brian!

I just opened a Pull Request on GitHub for this Improvement.

Let me know what you think!

Best regards

Tiago

@swift-ci
Copy link

swift-ci commented Oct 9, 2017

Comment by Tiago Martinho (JIRA)

https://github.com/apple/swift-corelibs-xctest

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant