mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
37c88445e3
On FreeBSD, perl isn't in /usr/bin, its in /usr/local/bin or elsewhere in the path. Like storage/{maria/unittest/,}ma_test_* , we use /usr/bin/env to find perl and run it.
5 lines
217 B
Perl
5 lines
217 B
Perl
#!/usr/bin/env perl
|
|
# Call mtr in out-of-source build
|
|
$ENV{MTR_BINDIR} = '@CMAKE_BINARY_DIR@';
|
|
chdir('@CMAKE_SOURCE_DIR@/mysql-test');
|
|
exit(system($^X, '@CMAKE_SOURCE_DIR@/mysql-test/mysql-test-run.pl', @ARGV) >> 8);
|