Skip to content

check-swift-only_executable: Mark executable tests as such #13825

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

Conversation

aschwaighofer
Copy link
Contributor

Executable tests need to be marked with 'REQUIRES: executable_test' for check-swift-only_executable and check-swift-only_non_executable to work.

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test

@jrose-apple
Copy link
Contributor

I'm not sure this is right for JIT tests. Those seem like yet another category, potentially—while they shouldn't be run under only_non_executable, they also aren't being optimized under only_executable. @lhames, thoughts?

@aschwaighofer aschwaighofer force-pushed the mark_some_executable_tests_as_such branch from ec97eee to de66079 Compare January 19, 2018 20:59
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test

@lhames
Copy link
Contributor

lhames commented Jan 20, 2018

Late to the party. If 'executable_test' means you need to be able to execute code in the environment I think it's reasonable to disable JIT tests in non-executable mode, at least for now.

I'm planning to revisit the interpreter design in the near future -- we can re-evaluate this then.

@aschwaighofer aschwaighofer merged commit d471f2a into swiftlang:master Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants