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
This commit is contained in:
unknown 2008-02-20 21:37:03 +01:00
parent 81d7eb74a2
commit 2e5a7aadc6

View file

@ -72,7 +72,11 @@ sub main
{
print "Recovery tests require compilation with DBUG\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