summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-03-27 17:51:30 +0200
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-03-27 17:51:30 +0200
commitcf2a6e584d8a5d705f22753a790c8fa5645767f9 (patch)
treeccae91c557e4376f7aef54efd17f9389d636fbb4
parentf97e56c038ed74fe8d7079f438f395c403ff79fe (diff)
parent33e666d2927482c59154ece872fae5924dbea749 (diff)
downloadmariadb-git-cf2a6e584d8a5d705f22753a790c8fa5645767f9.tar.gz
Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build
into mysql.com:/home/kent/bk/tmp/mysql-5.0-build Makefile.am: Added target for RPM debug mysql-test-run
-rw-r--r--Makefile.am10
-rw-r--r--support-files/mysql.spec.sh14
2 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.am b/Makefile.am
index 3a1bfc0e32a..ed54b630aea 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -147,6 +147,16 @@ test-force-full:
test-force-mem:
$(MAKE) force=--force mem=--mem test
+test-bt:
+ -cd mysql-test ; MTR_BUILD_THREAD=auto \
+ @PERL@ ./mysql-test-run.pl --force --comment=normal --report-features
+ -cd mysql-test ; MTR_BUILD_THREAD=auto \
+ @PERL@ ./mysql-test-run.pl --force --comment=ps --ps-protocol
+
+test-bt-debug:
+ -cd mysql-test ; MTR_BUILD_THREAD=auto \
+ @PERL@ ./mysql-test-run.pl --force --comment=debug --report-features
+
# Keep these for a while
test-pl: test
test-full-pl: test-full
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh
index ce1335e1bc4..8cb425edcec 100644
--- a/support-files/mysql.spec.sh
+++ b/support-files/mysql.spec.sh
@@ -354,12 +354,7 @@ then
cp -fp config.log "$MYSQL_MAXCONFLOG_DEST"
fi
-( cd mysql-test
- MTR_BUILD_THREAD=auto
- export MTR_BUILD_THREAD
- perl ./mysql-test-run.pl --force --report-features
- perl ./mysql-test-run.pl --force --ps-protocol
- true )
+make test-bt
# Save mysqld-max
./libtool --mode=execute cp sql/mysqld sql/mysqld-max
@@ -418,12 +413,7 @@ then
cp -fp config.log "$MYSQL_CONFLOG_DEST"
fi
-( cd mysql-test
- MTR_BUILD_THREAD=auto
- export MTR_BUILD_THREAD
- perl ./mysql-test-run.pl --force --report-features
- perl ./mysql-test-run.pl --force --ps-protocol
- true )
+make test-bt
%install
RBR=$RPM_BUILD_ROOT