mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
WL#3206 (Add unit tests):
More changes according to review comments. unittest/README.txt: Changes to manifest. unittest/mysys/bitmap.t.c: Removed unused functions and variables. Marked unused parameters as unused. No need to test every size up to 4096 bits, testing to 1024, but I think this is too much as well. unittest/unit.pl: Added test for version-specific function.
This commit is contained in:
@ -100,7 +100,8 @@ sub run_cmd (@) {
|
||||
# we are replacing the straps under the feet of Test::Harness,
|
||||
# we need to do some basic initializations in the new straps.
|
||||
$Test::Harness::Strap = MySQL::Straps->new;
|
||||
$Test::Harness::Strap->{callback} = \&Test::Harness::strap_callback;
|
||||
$Test::Harness::Strap->{callback} = \&Test::Harness::strap_callback
|
||||
if defined &Test::Harness::strap_callback;
|
||||
|
||||
runtests @files;
|
||||
}
|
||||
|
Reference in New Issue
Block a user