-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Parser will fail if the name of the test is split over several lines in the test file. #73
Comments
I think we can fix the multiline issue by replacing the Also, I wonder why this is even written in C++? I personally would prefer Python for tasks like this. But I don't know enough about the test runner yet to say if a rewrite in Python would make sense. |
I'm fine with any tech-stack that gives us a working solution and is easy to maintain. |
Siebenschläfer is right, the initial thought was to get rid of the Pythond dependency to reduce the footprint of the test-runner. Every gig is about 1k€ per year. Also, the general directive from Erik was that the runner should be written in the same language as the track. I am very happy to see a more versatile solution. If you get some hold of a nice ast parser for Cpp, we can use it to make the represented a lot better and even implement an analyzer. |
Turns out Python is already part of the image:
Looks like it's pulled by
How hard of a requirement is that? I find it goes a bit against the "right tool for the job" best practice.
I think libclang would be a good fit here. It would also not increase the size of the image, since it would only be a build-time requirement. The final executable would be a few kilobytes larger, but that'd be it. |
It's not a hard requirement. |
How much of a requirement is boost? I know that at least |
I'd say it's required that all existing student solutions are still working after changes in the test runner. So I would give the boost lib a hard yes for requirements. |
Some tests get manual formatting and local `clang-format off` to work around exercism/cpp-test-runner#73
Some tests get manual formatting and local `clang-format off` to work around exercism/cpp-test-runner#73
No description provided.
The text was updated successfully, but these errors were encountered: