[liblouis-liblouisxml] [liblouis] r862 committed - Added a comment about the purpose of typeform.c as it isn't really a t...

  • From: liblouis@xxxxxxxxxxxxxx
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Fri, 14 Dec 2012 14:00:00 +0000

Revision: 862
Author:   christian.egli@xxxxxxxxxxxxxx
Date:     Fri Dec 14 05:59:41 2012
Log: Added a comment about the purpose of typeform.c as it isn't really a test

http://code.google.com/p/liblouis/source/detail?r=862

Modified:
 /trunk/ChangeLog
 /trunk/tests/typeform.c

=======================================
--- /trunk/ChangeLog    Fri Dec 14 00:31:25 2012
+++ /trunk/ChangeLog    Fri Dec 14 05:59:41 2012
@@ -1,5 +1,8 @@
 2012-12-14  Christian Egli  <christian.egli@xxxxxx>

+       * tests/typeform.c: Added a comment about the purpose of this
+       file, as it isn't really a test
+
        * tests/brl_checks.h:
        * tests/brl_checks.c (convert_typeform): Add the new function to
        the header file.
=======================================
--- /trunk/tests/typeform.c     Thu Dec 13 07:25:39 2012
+++ /trunk/tests/typeform.c     Fri Dec 14 05:59:41 2012
@@ -1,3 +1,19 @@
+/* This is not a test per se, i.e. it doesn't invoke any functionality
+   of liblouis and compares the result with a known good value.
+
+   Instead it just invokes the liblouis translation machinery on a
+   fairly large text. This is done simply to be able to run valgrind
+   on a big translation.
+
+   Thanks to this a number of bugs have been found and as I write this
+   there are still some memory problems remaining. There are errors
+   such as Invalid reads and writes, Conditional jump or move depends
+   on uninitialized value and Use of uninitialized value.
+
+   See the section on finding memory leaks in HACKING to find out how
+   you can use valgrind to find and possibly fix the remaining
+   problems. */
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts:

  • » [liblouis-liblouisxml] [liblouis] r862 committed - Added a comment about the purpose of typeform.c as it isn't really a t... - liblouis