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
2b8f2b3e
Commit
2b8f2b3e
authored
Jun 20, 2018
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix unit suite on Windows and in out-of-source builds
parent
0a9d78f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mysql-test/suite/unit/suite.pm
mysql-test/suite/unit/suite.pm
+4
-3
No files found.
mysql-test/suite/unit/suite.pm
View file @
2b8f2b3e
...
...
@@ -28,10 +28,11 @@ sub start_test {
}
{
my
$bin
=
$ENV
{
MTR_BINDIR
}
||
'
..
';
return
"
Not run for embedded server
"
if
$::opt_embedded_server
;
return
"
Not configured to run ctest
"
unless
-
f
"
..
/CTestTestfile.cmake
";
my
(
$ctest_vs
)
=
$
opt_vs_config
?
"
--build-config
$opt_vs_config
"
:
"";
my
(
@ctest_list
)
=
`
cd
.. && ctest
$opt_vs_config
--show-only --verbose
`;
return
"
Not configured to run ctest
"
unless
-
f
"
$bin
/CTestTestfile.cmake
";
my
(
$ctest_vs
)
=
$
::opt_vs_config
?
"
-C
"
.
substr
(
$::opt_vs_config
,
1
)
:
"";
my
(
@ctest_list
)
=
`
cd
$bin
&& ctest
$ctest_vs
--show-only --verbose
`;
return
"
No ctest
"
if
$?
;
my
(
$command
,
%
tests
);
...
...
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