From: Rusty Russell Date: Sun, 4 Dec 2011 22:49:34 +0000 (+1030) Subject: ccanlint.1: fix description of per-test options for tests_pass_valgrind. X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=e6ed30e6896a8cc2df523c3a7e343252856142b4 ccanlint.1: fix description of per-test options for tests_pass_valgrind. --- diff --git a/doc/ccanlint.1 b/doc/ccanlint.1 index 4febdc38..4cc06c27 100644 --- a/doc/ccanlint.1 +++ b/doc/ccanlint.1 @@ -2,12 +2,12 @@ .\" Title: ccanlint .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.75.2 -.\" 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 diff --git a/doc/ccanlint.1.txt b/doc/ccanlint.1.txt index af3950c7..4ba52493 100644 --- a/doc/ccanlint.1.txt +++ b/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.