Below is the list of changes that have just been committed into a local
5.1 repository of prem. When prem does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet
1.2029 06/01/09 15:46:29 pkarthick@stripped[prem] +1 -0
4.0.x_autoclose-testrun.patch
netware/mysql_test_run.c
1.19 06/01/09 15:44:42 pkarthick@stripped[prem] +13 -6
Import patch 4.0.x_autoclose-testrun.patch
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: pkarthick
# Host: blr-naas-nwl04.blr.novell.com
# Root: /home/prem/bk/mysql-5.1-old
--- 1.18/netware/mysql_test_run.c 2005-12-05 00:27:28 +05:30
+++ 1.19/netware/mysql_test_run.c 2006-01-09 15:44:42 +05:30
@@ -1189,7 +1189,7 @@
******************************************************************************/
int main(int argc, char **argv)
{
- int is_ignore_list = 0;
+ int is_ignore_list = 0, autoclose = 0, individual_execution = 0;
// setup
setup(argv[0]);
@@ -1236,16 +1236,22 @@
{
int i;
- // single test
- single_test = TRUE;
-
for (i = 1 + is_ignore_list; i < argc; i++)
{
+ if (!strncasecmp(argv[i], "--autoclose", 11))
+ {
+ autoclose = 1;
+ continue;
+ }
+ // single test
+ single_test = TRUE;
+ individual_execution = 1;
+
// run given test
run_test(argv[i]);
}
}
- else
+ if (!individual_execution)
{
// run all tests
DIR *dir = opendir(test_dir);
@@ -1297,7 +1303,8 @@
if (log_fd) fclose(log_fd);
// keep results up
- pressanykey();
+ if (!autoclose)
+ pressanykey();
return 0;
}
| Thread |
|---|
| • bk commit into 5.1 tree (pkarthick:1.2029) | pkarthick | 9 Jan |