Commit 2e5a7aad authored by unknown's avatar unknown

non-debug build should not cause ma_test_all-t to always fail:

make ma_test_recovery.pl return 0 if it skips itself.


storage/maria/unittest/ma_test_recovery.pl:
  non-debug build should not cause ma_test_all-t to always fail
parent 81d7eb74
...@@ -72,7 +72,11 @@ sub main ...@@ -72,7 +72,11 @@ sub main
{ {
print "Recovery tests require compilation with DBUG\n"; print "Recovery tests require compilation with DBUG\n";
print "Aborting test\n"; print "Aborting test\n";
exit(1); # In the future, we will not abort but use maria_chk --zerofill-keep-lsn
# for comparisons in non-debug builds.
# For now we just skip the test, pretending it passed (nothing is
# alarming).
exit(0);
} }
# To not flood the screen, we redirect all the commands below to a text file # To not flood the screen, we redirect all the commands below to a text file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment