Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2f9093e6
Commit
2f9093e6
authored
Jan 07, 2008
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
calculate build thread earlier
Always set MTR_BUILD_THREAD env variable
parent
c2bba780
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
2f9093e6
...
...
@@ -381,6 +381,11 @@ sub command_line_setup {
usage
("")
if
$opt_usage
;
# --------------------------------------------------------------------------
# Check mtr_build_thread and calculate baseport
# --------------------------------------------------------------------------
set_mtr_build_thread_ports
(
$opt_mtr_build_thread
);
if
(
-
d
"
../sql
"
)
{
$source_dist
=
1
;
...
...
@@ -732,11 +737,6 @@ sub command_line_setup {
$path_current_test_log
=
"
$opt_vardir
/log/current_test
";
$path_ndb_testrun_log
=
"
$opt_vardir
/log/ndb_testrun.log
";
# --------------------------------------------------------------------------
# Check mtr_build_thread and calculate baseport
# --------------------------------------------------------------------------
set_mtr_build_thread_ports
(
$opt_mtr_build_thread
);
}
...
...
@@ -765,6 +765,7 @@ sub set_mtr_build_thread_ports($) {
print
"
got
"
.
$mtr_build_thread
.
"
\n
";
}
$opt_mtr_build_thread
=
$mtr_build_thread
;
$ENV
{
MTR_BUILD_THREAD
}
=
$mtr_build_thread
;
# Calculate baseport
$opt_baseport
=
$mtr_build_thread
*
10
+
10000
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment