Commit 769d9f38 authored by Jonathan Perkin's avatar Jonathan Perkin

Apply patch from bug#46834 to install the test suite in RPMs.

parent 58903aec
...@@ -17,7 +17,8 @@ ...@@ -17,7 +17,8 @@
## Process this file with automake to create Makefile.in ## Process this file with automake to create Makefile.in
testdir = $(prefix)/mysql-test testroot = $(prefix)
testdir = $(testroot)/mysql-test
test_SCRIPTS = mtr \ test_SCRIPTS = mtr \
mysql-test-run \ mysql-test-run \
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
safedir = $(prefix)/mysql-test/lib/My/SafeProcess testroot = $(prefix)
safedir = $(testroot)/mysql-test/lib/My/SafeProcess
#nobase_bin_PROGRAMS = ... #nobase_bin_PROGRAMS = ...
safe_PROGRAMS = my_safe_process safe_PROGRAMS = my_safe_process
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
testdir=$(prefix)/mysql-test/ndb testroot=$(prefix)
testdir=$(testroot)/mysql-test/ndb
include $(top_srcdir)/storage/ndb/config/common.mk.am include $(top_srcdir)/storage/ndb/config/common.mk.am
include $(top_srcdir)/storage/ndb/config/type_util.mk.am include $(top_srcdir)/storage/ndb/config/type_util.mk.am
......
...@@ -428,7 +428,7 @@ install -d $RBR%{_sbindir} ...@@ -428,7 +428,7 @@ install -d $RBR%{_sbindir}
# Install all binaries # Install all binaries
(cd $MBD && make install DESTDIR=$RBR benchdir_root=%{_datadir}) (cd $MBD && make install DESTDIR=$RBR testroot=%{_datadir})
# Old packages put shared libs in %{_libdir}/ (not %{_libdir}/mysql), so do # Old packages put shared libs in %{_libdir}/ (not %{_libdir}/mysql), so do
# the same here. # the same here.
mv $RBR/%{_libdir}/mysql/*.so* $RBR/%{_libdir}/ mv $RBR/%{_libdir}/mysql/*.so* $RBR/%{_libdir}/
...@@ -858,6 +858,10 @@ fi ...@@ -858,6 +858,10 @@ fi
- Install plugin libraries in appropriate packages. - Install plugin libraries in appropriate packages.
- Disable example plugins. - Disable example plugins.
* Thu Aug 20 2009 Jonathan Perkin <jperkin@stripped>
- Update variable used for mysql-test suite location to match source.
* Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com> * Fri Nov 07 2008 Joerg Bruehe <joerg@mysql.com>
- Correct yesterday's fix, so that it also works for the last flag, - Correct yesterday's fix, so that it also works for the last flag,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment