[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
subdir4.test
From: |
Akim Demaille |
Subject: |
subdir4.test |
Date: |
16 Oct 2000 11:21:22 +0200 |
User-agent: |
Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands) |
This test fails with distcheck and not with check. My diagnosis is
that it fails because with distcheck the source tree is read only, and
therefore the `depcomp' which is imported by tests/defs is read only
too:
automake-1.4a/=build/tests % ls -l testSubDir/depcomp nostromo 11:10
-r-xr-xr-x 1 akim lrde 8159 oct 16 11:06 testSubDir/depcomp*
so when it comes to this snippet of subdir4.fig:
| # With depcomp here at the top level, automake prior to 2000-08-06
| # would mistakenly give the following diagnostic:
| # automake: configure.in: required file `lib/depcomp' not found
| : > depcomp
it fails:
| ../../tests/subdir4.test: depcomp: Permission non accordée
| FAIL: subdir4.test
So I'd like to apply this patch:
Index: tests/ChangeLog
from Akim Demaille <address@hidden>
* subdir4.test (depcomp): Don't create it, defs does.
Index: tests/subdir4.test
===================================================================
RCS file: /cvs/automake/automake/tests/subdir4.test,v
retrieving revision 1.1
diff -u -r1.1 subdir4.test
--- tests/subdir4.test 2000/08/06 13:19:58 1.1
+++ tests/subdir4.test 2000/10/16 09:06:21
@@ -27,11 +27,6 @@
: > AUTHORS
: > ChangeLog
-# With depcomp here at the top level, automake prior to 2000-08-06
-# would mistakenly give the following diagnostic:
-# automake: configure.in: required file `lib/depcomp' not found
-: > depcomp
-
cat > Makefile.am << 'END'
SUBDIRS = lib src
END
but the problem is that Jim made this on purpose I guess since:
| 2000-08-06 Jim Meyering <address@hidden>
|
| * Makefile.am (TESTS): Add subdir4.test.
| * subdir4.test: New test for the just-fixed depcomp failure.
| [...]
|
| 2000-03-19 Tom Tromey <address@hidden>
|
| * libobj2.test: Put depcomp into subdir.
| * confsub.test: Put depcomp into subdir.
| * defs: Always copy `depcomp'.
his introduction of subdir4.test was made after that `defs' copies
`depcomp'. Since I don't understand too well what was your intention,
Jim, I didn't apply it. But with this patch, Automake checks and
distchecks.
- subdir4.test,
Akim Demaille <=