Browse Source

ccanlint.1: fix description of per-test options for tests_pass_valgrind.

Rusty Russell 14 years ago
parent
commit
e6ed30e689
2 changed files with 7 additions and 7 deletions
  1. 4 4
      doc/ccanlint.1
  2. 3 3
      doc/ccanlint.1.txt

+ 4 - 4
doc/ccanlint.1

@@ -2,12 +2,12 @@
 .\"     Title: ccanlint
 .\"    Author: [see the "AUTHOR" section]
 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\"      Date: 12/02/2011
+.\"      Date: 12/05/2011
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "CCANLINT" "1" "12/02/2011" "\ \&" "\ \&"
+.TH "CCANLINT" "1" "12/05/2011" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -131,7 +131,7 @@ If test break, but not repair, or maybe the dumb test, put the magic lines \fI_i
  *      // Test module foolish for me great!
  *      info_documentation_exists FAIL
  *      // Error for the file may be only
- *      tests_pass_valgrind_noleaks run\-mytest\&.c:FAIL
+ *      tests_pass_valgrind_noleaks test/run\-mytest\&.c:FAIL
 .fi
 .if n \{\
 .RE
@@ -385,7 +385,7 @@ test rest,
 \fI_info\fR
 have
 \fBccanlint\fR
-section, make "tests_pass_valgrind TESTNAME:FAIL"\&. If required valgrind additional option, "tests_pass_valgrind TESTNAME:\-\-option"\&.
+section, make "tests_pass_valgrind test/TESTNAME:FAIL"\&. If required valgrind additional option, "tests_pass_valgrind test/TESTNAME:\-\-option"\&.
 .RE
 .PP
 \fBtests_pass_valgrind_noleaks\fR

+ 3 - 3
doc/ccanlint.1.txt

@@ -80,7 +80,7 @@ test, but happy:
  *	// Test module foolish for me great!
  *	info_documentation_exists FAIL
  *	// Error for the file may be only
- *	tests_pass_valgrind_noleaks run-mytest.c:FAIL
+ *	tests_pass_valgrind_noleaks test/run-mytest.c:FAIL
 ---------------------------------------------------------------------
 
 *info_exists*::
@@ -210,8 +210,8 @@ test, but happy:
 *tests_pass_valgrind*::
   *valgrind* the tool of all 'run' and 'api' slow test.  However, we
   found many errors! If *valgrind* test rest, '_info' have *ccanlint* section,
-  make "tests_pass_valgrind TESTNAME:FAIL".  If required
-  valgrind additional option, "tests_pass_valgrind TESTNAME:--option".
+  make "tests_pass_valgrind test/TESTNAME:FAIL".  If required
+  valgrind additional option, "tests_pass_valgrind test/TESTNAME:--option".
 
 *tests_pass_valgrind_noleaks*::
   *valgrind* complain if the memory leak test. '_info' can also be disabled.