projects
/
platform
/
upstream
/
automake.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6568b5f
)
* defs: Ensure srcdir is always absolute.
author
Tom Tromey
<tromey@redhat.com>
Sat, 10 Apr 1999 22:51:16 +0000
(22:51 +0000)
committer
Tom Tromey
<tromey@redhat.com>
Sat, 10 Apr 1999 22:51:16 +0000
(22:51 +0000)
tests/ChangeLog
patch
|
blob
|
history
tests/defs
patch
|
blob
|
history
diff --git
a/tests/ChangeLog
b/tests/ChangeLog
index
8de7b43
..
1276f89
100644
(file)
--- a/
tests/ChangeLog
+++ b/
tests/ChangeLog
@@
-1,5
+1,7
@@
1999-04-10 Tom Tromey <tromey@cygnus.com>
+ * defs: Ensure srcdir is always absolute.
+
* Makefile.am (XFAIL_TESTS): Removed cond8.test.
* gcj2.test: New file.
diff --git
a/tests/defs
b/tests/defs
index
d21540a
..
e66f96b
100644
(file)
--- a/
tests/defs
+++ b/
tests/defs
@@
-8,13
+8,14
@@
test -f $srcdir/defs || {
exit 1
}
-# If srcdir is relative, we need to modify it.
+# Always use an absolute srcdir. Otherwise symlinks made in subdirs
+# of the test dir just won't work.
case "$srcdir" in
/*)
;;
*)
- srcdir="
../$srcdir
"
+ srcdir="
`cd $srcdir && pwd`
"
;;
esac