bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] add tests for vc-list-files


From: Bruno Haible
Subject: Re: [PATCH] add tests for vc-list-files
Date: Thu, 1 May 2008 17:02:54 +0200
User-agent: KMail/1.5.4

Hi Jim,

> * tests/test-vc-list-files-cvs.sh: New file.
> * tests/test-vc-list-files-git.sh: New file.

The two tests fail for me, on Linux, in a testdir created through
  gnulib-tool --create-testdir --with-tests ...

./test-vc-list-files-cvs.sh: line 57: vc-list-files: command not found
--- expected    2008-05-01 16:51:41.000000000 +0200
+++ actual      2008-05-01 16:51:41.000000000 +0200
@@ -1,3 +0,0 @@
-b
-c
-d/a
./test-vc-list-files-cvs.sh: line 57: vc-list-files: command not found
--- expected    2008-05-01 16:51:42.000000000 +0200
+++ actual      2008-05-01 16:51:42.000000000 +0200
@@ -1,3 +0,0 @@
-b
-c
-d/a
FAIL: test-vc-list-files-cvs.sh
./test-vc-list-files-git.sh: line 43: vc-list-files: command not found
FAIL: test-vc-list-files-git.sh

The reason is that

  1) The scripts make use of an environment variable abs_top_srcdir.
     But such an environment variable is not set. You need to augment
     TESTS_ENVIRONMENT.

     TESTS_ENVIRONMENT += abs_top_srcdir=`cd '$(top_srcdir)' && pwd`

  2) It uses build-aux, assuming the user has not used the gnulib-tool
     --aux-dir option. The fix is to use $ac_aux_dir instead of build-aux.

Bruno





reply via email to

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