Auto generate linux test#136
Conversation
|
@swift-ci Please test |
|
I'd love to pull this in, but I wonder if we could go all-in and try doing |
|
Yeah, let's hold on to this change for now to try out auto-discovery. Plus we are not yet building+testing SwiftSyntax on linux which makes it hard to validate the PR changes. |
|
Could you update this patch to try auto-test-discovery? I'd love to still take the renaming and the removal of all the manual stuff. |
|
Didn't know we have this option, but this is actually better. Yes, I'll give it a try. |
# Conflicts: # Tests/SwiftSyntaxTest/SyntaxFactoryTests.swift
|
I guess it worked! Should I delete |
|
That sounds good to me! |
|
Addressed your feedback |
|
Last bit: can you add this flag in build-script.py? |
a11a96a to
dd37bf6
Compare
|
@swift-ci please test |
|
Build failed |
|
I'd like to hold on this for a bit, we are going to switch to using multiroot packages for CI, that @aciidb0mb3r recently added, and test discovery is not yet working for that setup. |
|
@kitasuke Sorry this was sitting here for so long and not being merged. But thanks a lot for your work on this. I have rebased your changes and cleaned them up a little in #171. Could you take a look at them? Because we are now using a unified build for all SwiftSyntax dependencies, we unfortunately cannot use Closing this now since it’s being tracked by #171. |
|
Makes sense. Thanks for the heads up! |
Various visibility (and other) cleanup.
Overview
Let's use
swift test --enable-test-discoveryto support auto-generation of test files for Linux instead of manually adding/removing test cases.I also renamed test files to have consistent common suffix which is
Tests.