We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c422e6 commit 8599f16Copy full SHA for 8599f16
mysql-test/suite/unit/suite.pm
@@ -37,10 +37,11 @@ sub start_test {
37
}
38
39
{
40
+ my $bin=$ENV{MTR_BINDIR} || '..';
41
return "Not run for embedded server" if $::opt_embedded_server;
- return "Not configured to run ctest" unless -f "../CTestTestfile.cmake";
42
+ return "Not configured to run ctest" unless -f "$bin/CTestTestfile.cmake";
43
my ($ctest_vs)= $opt_vs_config ? "--build-config $opt_vs_config" : "";
- my (@ctest_list)= `cd .. && ctest $opt_vs_config --show-only --verbose`;
44
+ my (@ctest_list)= `cd "$bin" && ctest $opt_vs_config --show-only --verbose`;
45
return "No ctest" if $?;
46
47
my ($command, %tests, $prefix);
0 commit comments