gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 11/205: test1139: allow for the possibility that th


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 11/205: test1139: allow for the possibility that the man page is not rebuilt
Date: Thu, 20 Apr 2017 16:19:11 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.

commit 4fa2de3698c7fdf2985a6d0ba742fb4ea214b8d5
Author: Dan Fandrich <address@hidden>
AuthorDate: Sun Feb 26 21:30:31 2017 +0100

    test1139: allow for the possibility that the man page is not rebuilt
    
    This is likely to be the case when building from a tar ball release
    package which includes a prebuilt man page. In that case, test the
    packaged man page instead. This only makes a difference when building
    out-of-tree (in-tree, the location in both cases is identical).
---
 tests/manpage-scan.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/manpage-scan.pl b/tests/manpage-scan.pl
index 1cc47eb31..aa67f7f83 100644
--- a/tests/manpage-scan.pl
+++ b/tests/manpage-scan.pl
@@ -197,7 +197,8 @@ close(R);
 
 #########################################################################
 # parse the curl.1 man page, extract all documented command line options
-open(R, "<$buildroot/docs/curl.1") ||
+# The man page may or may not be rebuilt, so check both possible locations
+open(R, "<$buildroot/docs/curl.1") || open(R, "<$root/docs/curl.1") ||
     die "no input file";
 my @manpage; # store all parsed parameters
 while(<R>) {

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]