Revision 22167,
1.9 KB
checked in by ghudson, 19 years ago
(diff) |
This commit was generated by cvs2svn to compensate for changes in r22166,
which included commits to RCS files with non-trunk default branches.
|
Line | |
---|
1 | # Common portion of all rpath-3?a? tests. |
---|
2 | |
---|
3 | tmpfiles="" |
---|
4 | trap 'rm -fr $tmpfiles' 1 2 3 15 |
---|
5 | |
---|
6 | builddir=`pwd` |
---|
7 | global_top_auxdir=`cd "$top_srcdir"/config && pwd` |
---|
8 | export global_top_auxdir |
---|
9 | |
---|
10 | test -d tstdir || mkdir tstdir |
---|
11 | |
---|
12 | tmpfiles="$tmpfiles $rp-prefix" |
---|
13 | rm -rf $rp-prefix |
---|
14 | mkdir $rp-prefix |
---|
15 | |
---|
16 | tmpfiles="$tmpfiles tstdir/$rp-build1" |
---|
17 | rm -rf tstdir/$rp-build1 |
---|
18 | mkdir tstdir/$rp-build1 |
---|
19 | (cd $srcdir/rpathx && tar cf - *) | (cd tstdir/$rp-build1 && tar xf -) |
---|
20 | (cd tstdir/$rp-build1 |
---|
21 | ${CONFIG_SHELL-/bin/sh} ./configure $build1_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1 |
---|
22 | make > make.log 2>&1 |
---|
23 | make install > install.log 2>&1 |
---|
24 | ) |
---|
25 | if test $remove_la = yes; then |
---|
26 | rm -f $rp-prefix/lib/librpathx.la |
---|
27 | fi |
---|
28 | |
---|
29 | tmpfiles="$tmpfiles tstdir/$rp-build2" |
---|
30 | rm -rf tstdir/$rp-build2 |
---|
31 | mkdir tstdir/$rp-build2 |
---|
32 | (cd $srcdir/rpathy && tar cf - *) | (cd tstdir/$rp-build2 && tar xf -) |
---|
33 | (cd tstdir/$rp-build2 |
---|
34 | ${CONFIG_SHELL-/bin/sh} ./configure $build2_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1 |
---|
35 | make > make.log 2>&1 |
---|
36 | make install > install.log 2>&1 |
---|
37 | ) |
---|
38 | if test $remove_la = yes; then |
---|
39 | rm -f $rp-prefix/lib/librpathy.la |
---|
40 | fi |
---|
41 | |
---|
42 | tmpfiles="$tmpfiles tstdir/$rp-build3" |
---|
43 | rm -rf tstdir/$rp-build3 |
---|
44 | mkdir tstdir/$rp-build3 |
---|
45 | (cd $srcdir/rpathz && tar cf - *) | (cd tstdir/$rp-build3 && tar xf -) |
---|
46 | (cd tstdir/$rp-build3 |
---|
47 | ${CONFIG_SHELL-/bin/sh} ./configure $build3_configure_flags --prefix=$builddir/$rp-prefix > configure.log 2>&1 |
---|
48 | make > make.log 2>&1 |
---|
49 | make install > install.log 2>&1 |
---|
50 | ) |
---|
51 | if test $remove_la = yes; then |
---|
52 | rm -f $rp-prefix/lib/librpathz.la |
---|
53 | fi |
---|
54 | |
---|
55 | tmpfiles="$tmpfiles tstdir/$rp-build4" |
---|
56 | rm -rf tstdir/$rp-build4 |
---|
57 | mkdir tstdir/$rp-build4 |
---|
58 | (cd $srcdir/$build4_package && tar cf - *) | (cd tstdir/$rp-build4 && tar xf -) |
---|
59 | (cd tstdir/$rp-build4 |
---|
60 | ${CONFIG_SHELL-/bin/sh} ./configure --prefix=$builddir/$rp-prefix > configure.log 2>&1 |
---|
61 | make > make.log 2>&1 |
---|
62 | make check >> make.log |
---|
63 | ) |
---|
64 | result=$? |
---|
65 | |
---|
66 | rm -rf $tmpfiles |
---|
67 | |
---|
68 | exit $result |
---|
Note: See
TracBrowser
for help on using the repository browser.