This test failure only showed up with parallel NetBSD make: it doesn't
identify `./FILE' and `FILE', and with serial execution, the library in
question is built before the program linking to it anyway.

Pushed to master and branch-1-10.

Cheers,
Ralf

    Avoid nonportable `./FILE' instead of `FILE' in test.
    
    * tests/libtool3.test: Do not use `$(top_builddir)/sub/libname.la'
    in *_LDADD entry if `$(top_builddir)' is `.'.  Fixes test failure
    with parallel NetBSD make.

diff --git a/tests/libtool3.test b/tests/libtool3.test
index 674a18c..c89f076 100755
--- a/tests/libtool3.test
+++ b/tests/libtool3.test
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2002, 2004  Free Software Foundation, Inc.
+# Copyright (C) 2002, 2004, 2009  Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ liba_liba_la_SOURCES = liba/a.c
 
 bin_PROGRAMS = 1
 1_SOURCES = sub/1.c
-1_LDADD = lib0.la $(top_builddir)/liba/liba.la
+1_LDADD = lib0.la liba/liba.la
 END
 
 mkdir liba sub


Reply via email to