diff options
| author | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
|---|---|---|
| committer | Richard Maw <richard.maw@codethink.co.uk> | 2012-01-17 14:43:55 +0000 |
| commit | 2de9abc5c9d40b3c716307d67d16146f823fd554 (patch) | |
| tree | 6979db67934ddc8b564150b465846a383b428ff8 /gnulib/tests/havelib/rpath-2_a | |
| parent | 33cc1c6fda6e72a7bae1401e9b2cec495a4d3ff1 (diff) | |
| download | patch-baserock/bootstrap.tar.gz | |
add the output of bootstrapbaserock/bootstrap-pass2baserock/bootstrap
Diffstat (limited to 'gnulib/tests/havelib/rpath-2_a')
| m--------- | gnulib | 0 | ||||
| -rw-r--r-- | gnulib/tests/havelib/rpath-2_a | 56 |
2 files changed, 56 insertions, 0 deletions
diff --git a/gnulib b/gnulib deleted file mode 160000 -Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1 diff --git a/gnulib/tests/havelib/rpath-2_a b/gnulib/tests/havelib/rpath-2_a new file mode 100644 index 0000000..3570e44 --- /dev/null +++ b/gnulib/tests/havelib/rpath-2_a @@ -0,0 +1,56 @@ +# Common portion of all rpath-2?a? tests. + +tmpfiles="" +trap 'rm -fr $tmpfiles' 1 2 3 15 + +builddir=`pwd` +global_top_auxdir=`cd "$top_srcdir"/build-aux && pwd` +export global_top_auxdir + +tstdir='tst/dir' +test -d $tstdir || { mkdir tst && mkdir $tstdir; } + +tmpfiles="$tmpfiles $rp-prefix" +rm -rf $rp-prefix +mkdir $rp-prefix + +tmpfiles="$tmpfiles $tstdir/$rp-build1" +rm -rf $tstdir/$rp-build1 +mkdir $tstdir/$rp-build1 +(cd $srcdir/rpathx && tar cf - *) | (cd $tstdir/$rp-build1 && tar xf -) +(cd $tstdir/$rp-build1 + ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 + make > make.log 2>&1 + make install > install.log 2>&1 +) +if test $remove_la = yes; then + rm -f $rp-prefix/lib/librpathx.la +fi + +tmpfiles="$tmpfiles $tstdir/$rp-build2" +rm -rf $tstdir/$rp-build2 +mkdir $tstdir/$rp-build2 +(cd $srcdir/rpathy && tar cf - *) | (cd $tstdir/$rp-build2 && tar xf -) +(cd $tstdir/$rp-build2 + ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 + make > make.log 2>&1 + make install > install.log 2>&1 +) +if test $remove_la = yes; then + rm -f $rp-prefix/lib/librpathy.la +fi + +tmpfiles="$tmpfiles $tstdir/$rp-build3" +rm -rf $tstdir/$rp-build3 +mkdir $tstdir/$rp-build3 +(cd $srcdir/$build3_package && tar cf - *) | (cd $tstdir/$rp-build3 && tar xf -) +(cd $tstdir/$rp-build3 + ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix --libdir=$builddir/$rp-prefix/$LIBDIRSTEM > configure.log 2>&1 + make > make.log 2>&1 + make check >> make.log +) +result=$? + +rm -rf $tmpfiles + +exit $result |
