]> git.eshelyaron.com Git - emacs.git/commit
Semi-automate the procedure for updating UCS normalize test bad lines
authorNoam Postavsky <npostavs@gmail.com>
Sat, 8 Jul 2017 17:01:30 +0000 (13:01 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 8 Jul 2017 18:28:17 +0000 (14:28 -0400)
commit4e3b9c544479f533d8932e739f9919c2fe952ef7
tree49215c54910e6b9bf85f6cc2f961f887f49e1aa0
parentfd3bcfa36ec542fbca8cf5cc7c8b196e8baf8810
Semi-automate the procedure for updating UCS normalize test bad lines

* test/lisp/international/ucs-normalize-tests.el: Remove incorrect
commentary describing a manual procedure for producing the updated
failing lines, it did not actually work.  Replace it with pointer to
new function which prints the updated values.
(ucs-normalize-tests--rule1-holds-p): Renamed from
ucs-normalize-tests--invariants-hold-p.
(ucs-normalize-tests--rule2-holds-p): Renamed from
ucs-normalize-tests--invariants-rule2-hold-p.
(ucs-normalize-tests--rule1-failing-for-partX): Renamed from
ucs-normalize-tests--invariants-failing-for-part.
(ucs-normalize-tests--rule1-failing-for-lines): Renamed from
ucs-normalize-tests--invariants-failing-for-lines.
(ucs-normalize-tests--part2-rule1-failed-lines): New variable.
(ucs-normalize-part2): Set it.
(ucs-normalize-part1): Always run through to end of test before
checking for failures.
(ucs-normalize-tests--insert-failing-lines)
(ucs-normalize-check-failing-lines): New functions, used to update
the *--failing-lines-part* variables.
test/lisp/international/ucs-normalize-tests.el