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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4911ec1a
Commit
4911ec1a
authored
May 15, 2024
by
Dave Gosselin
Committed by
Daniel Black
May 16, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtr on FreeBSD detects core count for --parallel=auto
parent
32ee6670
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
mysql-test/lib/My/Platform.pm
mysql-test/lib/My/Platform.pm
+10
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-1
No files found.
mysql-test/lib/My/Platform.pm
View file @
4911ec1a
...
...
@@ -23,7 +23,7 @@ use File::Path;
use
Carp
;
use
base
qw(Exporter)
;
our
@EXPORT
=
qw(IS_CYGWIN IS_MSYS IS_WINDOWS IS_WIN32PERL IS_AIX IS_MAC
our
@EXPORT
=
qw(IS_CYGWIN IS_MSYS IS_WINDOWS IS_WIN32PERL IS_AIX IS_MAC
IS_FREEBSD
native_path posix_path mixed_path
check_socket_path_length process_alive open_for_append)
;
...
...
@@ -79,6 +79,15 @@ BEGIN {
}
}
BEGIN
{
if
(
$^O
eq
"
freebsd
")
{
eval
'
sub IS_FREEBSD { 1 }
';
}
else
{
eval
'
sub IS_FREEBSD { 0 }
';
}
}
#
# native_path
# Convert from path format used by perl to the underlying
...
...
mysql-test/mysql-test-run.pl
View file @
4911ec1a
...
...
@@ -427,7 +427,7 @@ sub main {
{
$opt_parallel
=
$ENV
{
NUMBER_OF_PROCESSORS
}
||
1
;
}
elsif
(
IS_MAC
)
elsif
(
IS_MAC
||
IS_FREEBSD
)
{
$opt_parallel
=
`
sysctl -n hw.ncpu
`;
}
...
...
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