Skip to content

Generate scripts for component-wise lit invocations #30673

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

Closed
wants to merge 6 commits into from

Conversation

scentini
Copy link
Contributor

With this change, the test directory will contain 3 scripts:

  • swift-check-silgen.sh (runs lit.py on test/SILGen as well as any directory containing a file that has 'silgen' string in its name.)
  • swift-check-irgen.sh (runs lit.py on test/IRGen as well as any directory containing a file that has 'irgen' string in its name.)
  • swift-check-typecheck.sh (runs lit.py on test/Sema as well as any directory containing a file that has 'typecheck' in its name.)

@scentini
Copy link
Contributor Author

cc @gribozavr

scentini added 2 commits April 6, 2020 13:10
With this change, the test directory will contain 3 scripts:
 * swift-check-silgen.sh (runs lit.py on test/SILGen as well as any directory containing a file that has "silgen" string in its name.)
 * swift-check-irgen.sh (runs lit.py on test/IRGen as well as any directory containing a file that has "irgen" string in its name.)
 * swift-check-typecheck.sh (runs lit.py on test/SEMA as well as any directory containing a file that has "typecheck" in its name.)
@gribozavr
Copy link
Contributor

swift-check-silgen.sh (runs lit.py on test/SILGen as well as any directory containing a file that has 'silgen' string in its name.)

WDYT about slightly different semantics, "runs lit.py on test/SILGen as well as any test file that has 'silgen' in its name"?

@gribozavr
Copy link
Contributor

gribozavr commented Apr 6, 2020

swift-check-silgen.sh (runs lit.py on test/SILGen as well as any directory containing a file that has 'silgen' string in its name.)

WDYT about slightly different semantics, "runs lit.py on test/SILGen as well as any test file that has 'silgen' in its name"?

@scentini fixed it in the latest commit that uses lit --filter=....

@gribozavr
Copy link
Contributor

@swift-ci Please smoke test

@gribozavr
Copy link
Contributor

gribozavr commented Apr 7, 2020

An alternative approach: enhancing utils/run-test: #30850

@compnerd
Copy link
Member

This is no longer needed right?

@scentini
Copy link
Contributor Author

I believe that #30850 was deemed sufficient. Closing the PR

@scentini scentini closed this Apr 16, 2020
@gribozavr gribozavr added the c++ interop Feature: Interoperability with C++ label Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants