Explicitly specify render attribute for tests and move render tests#7239
Explicitly specify render attribute for tests and move render tests#7239
Conversation
552dd20 to
f7703ce
Compare
|
Isn't it weird that tests for errors, which don't generate a reference, have to specify a target? I think there should be a distinction between target in the sense of This distinction is similar to the way the |
|
That seems sensible. The export format should imply a target, so that we don't have to specify things twice. |
Good point, there will be. Also to avoid compiling the document multiple times with the The main idea was to introduce these changes as I start working on the test suite to minimize conflicts. I think moving the render tests is quite uncontroversial, but now I'm unsure about the |
|
I'd have assumed that In this setup, however, the purpose of |
|
There could also be two distinct targets for diagnostics: |
|
could be, but I think having two might be more elegant and compose better if we ever add another thing like |
|
So I gave this all a bit of thought while working on the test suite: main...test-suite
This is how I've implemented it now.
I've also implemented this, but I think diagnostic should work more like flag (not a full target/output). The Regarding PDF, I think it makes sense to have some way of specifying the standard, and get rid of the
I didn't think of it before, but the
This sounds reasonable, but I think we can deal with that once this becomes an issue, for now it would only complicate things and would require us to come up with different names for the |
|
Closing in favor of #7278 |
This is in preparation for larger changes to the test suite. It also adds a check that generates an error if a test doesn't specify any target.