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

simplify the update of test files #69

Open
ThomasBreuer opened this issue Apr 16, 2024 · 1 comment
Open

simplify the update of test files #69

ThomasBreuer opened this issue Apr 16, 2024 · 1 comment

Comments

@ThomasBreuer
Copy link
Contributor

As far as I understand, the test files for the package get updated via the instructions in tst/generate_tst_files.g.
These instructions themselves would have to be updated, but I think it would be better to use AutoDoc's extract_examples := true option (which is available in the AutoDoc version that is required by makedoc.g) instead.

@fingolfin
Copy link
Member

Yeah this is very complex, see also the content of the examples dir.

I guess part of it was a desire to also be able to update the examples in the XML files. Do we have capabilities for that? In any case, in my experience this is not so common so I'd not be worried about loosing it.

I thought about cleaning this up at some point but gave up because there were so many levels of indirection :-/.

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

No branches or pull requests

2 participants