Commit Graph

27 Commits

Author SHA1 Message Date
Daniel James
7d32695586 Test case for deeply nested macro
In this case the id is so long that there's nothing left of the macro name.
2017-10-30 17:09:29 +00:00
Daniel James
d2b0125d71 Truncate macro ids, as for other symbols 2017-10-30 16:52:52 +00:00
Daniel James
34ad10b7dc Better consistent macro ids 2017-10-29 12:52:54 +00:00
Daniel James
edb40425d3 Simple macro tests 2017-10-29 12:51:48 +00:00
Daniel James
ce2f9fd8ac Tweak some of the consistent ids in boostbook
They use '.' as a separator which results in paths like
'as_fe_id-1/3/2/6/2/7/1/1/1.html'.
2017-10-29 12:45:11 +00:00
Daniel James
c7208c85f7 Run tests with and without consistent ids 2017-10-29 12:40:07 +00:00
Daniel James
36f9c16af2 Regen test results for improved ids 2017-09-10 23:30:33 +01:00
Daniel James
79664e03ca Return error if any of the python tests fail 2017-09-10 23:29:38 +01:00
Daniel James
02abc8c9a4 Truncate ids in tests even more.
Whatever version of xsltproc I'm not using generates even longer id
numbers, which means that the base id needs to be further truncated to
make space for them.
2016-05-26 23:14:30 +01:00
Daniel James
2a7b62e58d Add support for language='c++'.
The implementation is a bit odd, but I was trying to match the existing
templates.

[SVN r86509]
2013-10-28 22:35:16 +00:00
Daniel James
5c02634c70 Revert change to function.
Will implement using language attribute instead.

[SVN r86508]
2013-10-28 22:34:35 +00:00
Daniel James
248ccf3ca4 Use syntax highlighting for function reference.
This appears to have removed the computeroutput tags from function links in
the hash documentation. I'm not sure if the solution is to retain them in
annotation mode or to be smarted about syntax highlighting programlisting.

[SVN r86505]
2013-10-28 20:15:14 +00:00
Daniel James
24d607e6b6 Fix boostbook tests for platform inconsistencies.
[SVN r84164]
2013-05-06 10:29:15 +00:00
Daniel James
da2a2a8614 Boostbook: Better error messages from python tests.
[SVN r83015]
2013-02-19 19:14:03 +00:00
Daniel James
7b453c224f Boostbook: Regenerate the "gold" test docs.
The ids are now a little more truncated than they used to be, this is partly
due to the fix in r77599, and partly due to the generate-id generating longer
ids in newer versions of xsltproc.

It might be better to improve the id normalisation so that it is more
consistent across versions.

[SVN r82891]
2013-02-14 21:47:20 +00:00
Daniel James
b2cd68b118 Boostbook: Fix run-tests.py for new generate-id.
The form of the generated ids has changed due to a security issue.

[SVN r82890]
2013-02-14 21:45:56 +00:00
Daniel James
dfc72f6d44 Boostbook: Fix methodname for operator().
[SVN r79657]
2012-07-22 07:17:55 +00:00
Daniel James
dd7f4dedf5 Boostbook: Update tests for change in [77599].
[SVN r79655]
2012-07-22 07:17:12 +00:00
Daniel James
3dfddbd9dc Boostbook: Fix tests for change in [75013].
[SVN r79654]
2012-07-22 07:16:32 +00:00
Daniel James
58dc4361c4 Boostbook: Pass through processing instructions.
[SVN r72002]
2011-05-16 21:35:33 +00:00
Daniel James
6a42dd3c65 Boostbook: Update the 'more' tests.
[SVN r70929]
2011-04-03 11:04:21 +00:00
Daniel James
44e18ae23e Fix tabs and files without copyright.
[SVN r67612]
2011-01-03 12:43:34 +00:00
Daniel James
7a62da4197 Implement lang attribute in quickbook/boostbook.
[SVN r67090]
2010-12-07 20:44:23 +00:00
Daniel James
a14f4c7a04 Copy boostbook element attributes.
[SVN r66277]
2010-10-30 15:52:02 +00:00
Daniel James
a0b0e2d73f Get run-tests.py working on python 2.5
[SVN r66276]
2010-10-30 15:50:06 +00:00
Daniel James
8ab66ba51e Fix some comment issues in the boostbook syntax highlighter.
[SVN r64833]
2010-08-15 16:49:58 +00:00
Daniel James
b828baab1d Start developing automated boostbook tests.
Just a shoddy python script for now. The main point of using python is
to normalize the ids generated by boostbook, which make comparisons
difficult. I'll probably switch to using whatever build tool we settle
on.

[SVN r64832]
2010-08-15 16:49:10 +00:00