tests: make tests behave for the AR=lib case
authorPeter Rosin <peda@lysator.liu.se>
Wed, 29 Feb 2012 19:20:17 +0000 (20:20 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Wed, 29 Feb 2012 19:20:17 +0000 (20:20 +0100)
commit8bbb1486f1b85239ddfc6ece9a0df289bbbfbfbb
treefd780e9dd30a21b33284ce9b32994f771f1e2f5f
parent9b81d15f529aa5a67455d5e56f8e562540f4dba8
tests: make tests behave for the AR=lib case

These below tests were left mostly as-is when AM_PROG_AR was
introduced (with libobj16b being the exception, that test was
forgotten or has regressed since), in a misguided attempt to
not make them diverge from the original problem reports.

Modernize them so that they do not FAIL when $AR is Microsoft
'lib'.

* tests/libobj16b.test: Add AM_PROG_AR to configure.ac and remove
the no-longer-needed -Wno-extra-portability option when invoking
automake.
* tests/pr300-lib.test: Likewise.
* tests/pr300-ltlib.test: Likewise.
* tests/pr307.test: Likewise.
* tests/pr401.test: Likewise.  Also fetch the 'ar-lib' script.
* tests/pr401b.test: Likewise.
* tests/pr401c.test: Likewise.
tests/libobj16b.test
tests/pr300-lib.test
tests/pr300-ltlib.test
tests/pr307.test
tests/pr401.test
tests/pr401b.test
tests/pr401c.test