summaryrefslogtreecommitdiff
path: root/xdelta3/testing/regtest.cc
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2011-01-09 07:42:42 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2011-01-09 07:42:42 +0000
commitcc0cbbd791870eada49da8480979ddeabf45437f (patch)
treed384a45aa10e4a1161df545b203001b667b74185 /xdelta3/testing/regtest.cc
parentd26de3993a0ff4927f9c1f380097f8b2ca9a511d (diff)
Tests a directory of sample data. Using this now to verify behavior of
secondary compression for the new release.
Diffstat (limited to 'xdelta3/testing/regtest.cc')
-rw-r--r--xdelta3/testing/regtest.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/xdelta3/testing/regtest.cc b/xdelta3/testing/regtest.cc
index ba2e42c..45d99d0 100644
--- a/xdelta3/testing/regtest.cc
+++ b/xdelta3/testing/regtest.cc
@@ -731,8 +731,8 @@ void TestMergeCommand1() {
731 continue; 731 continue;
732 } 732 }
733 733
734 DP(RINT "S0 = %lu\n", size0); 734 // DP(RINT "S0 = %lu\n", size0);
735 DP(RINT "C1 = %lu\n", change1); 735 // DP(RINT "C1 = %lu\n", change1);
736 736
737 size_t add1_pos = size0 ? rand.Rand32() % size0 : 0; 737 size_t add1_pos = size0 ? rand.Rand32() % size0 : 0;
738 size_t del2_pos = size0 ? rand.Rand32() % size0 : 0; 738 size_t del2_pos = size0 ? rand.Rand32() % size0 : 0;
@@ -796,10 +796,10 @@ void TestMergeCommand2() {
796 continue; 796 continue;
797 } 797 }
798 798
799 DP(RINT "S0 = %lu\n", size0); 799 // DP(RINT "S0 = %lu\n", size0);
800 DP(RINT "S1 = %lu\n", size1); 800 // DP(RINT "S1 = %lu\n", size1);
801 DP(RINT "S2 = %lu\n", size2); 801 // DP(RINT "S2 = %lu\n", size2);
802 DP(RINT "S3 = %lu\n", size3); 802 // DP(RINT "S3 = %lu\n", size3);
803 803
804 spec0.GenerateFixedSize(size0); 804 spec0.GenerateFixedSize(size0);
805 805