You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a note for self to try to solve this issue.
In the lates release (9.0.0 rc2) the test target for make has been switched to the run of testasciidoc.py which causes issues in minimal build environments.
The 1st one is that it doesn't allow to change the CONF_DIR so testasciidoc try to pull the conf file from etc but this is not installed yet. A better solution is required.
Then there are other issues like source-highlight not found and other things like that.
I disabled the run of the tests in Debian for now but it would be nice to have a proper run later, hence this issue opened.
The text was updated successfully, but these errors were encountered:
For the former, are you looking to change the CONF_DIR for testasciidoc.py uses for its data directory stuff or the CONF_DIR in asciidoc.py? For the later, would using the --attribute="asciidoc-confdir=/path/to/path" work for you? I admit I'm not totally sure how the recursive self subprocessing works with regards to those sorts of things in asciidoc.py.
For the latter, I can add a new directive to the testasciidoc.conf that looks something like:
% requires
['source-highlight']
where it's a list of strings and for each string, it checks if each element exists as a command on the filesystem (shutil.which(command)) and if not, skip the test.
There's also probably a broader question of is there any particular reason to not rewrite testasciidoc.py into something like pytest and not using this custom conf setup other than manpower required.
This is a note for self to try to solve this issue.
In the lates release (9.0.0 rc2) the test target for make has been switched to the run of testasciidoc.py which causes issues in minimal build environments.
The 1st one is that it doesn't allow to change the CONF_DIR so testasciidoc try to pull the conf file from etc but this is not installed yet. A better solution is required.
Then there are other issues like source-highlight not found and other things like that.
I disabled the run of the tests in Debian for now but it would be nice to have a proper run later, hence this issue opened.
The text was updated successfully, but these errors were encountered: