Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2013-11-16 20:32:35 +0400
committerJohn Langford <jl@hunch.net>2013-11-16 20:32:35 +0400
commita020c0a9e55c382c2a0fe451fabe6b84c40586e3 (patch)
treefd4f65c1f8a0905e746704e365bbfc00404fbd09 /test/RunTests
parent9ce719f811a0687a7371ec5e661742e8efbfc87f (diff)
parentd7e51ee5c066c27d312edd435b3aeda158a6baca (diff)
fixed merge
Diffstat (limited to 'test/RunTests')
-rwxr-xr-xtest/RunTests8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/RunTests b/test/RunTests
index b13ebdb7..8d2aaf2d 100755
--- a/test/RunTests
+++ b/test/RunTests
@@ -19,6 +19,8 @@ my $LDA;
my $Diff = 'diff';
my $Cat = 'cat';
+my $diff_opts = '-N --minimal --side-by-side --suppress-common-lines --ignore-all-space --strip-trailing-cr -W 150';
+
my @ToTest = ();
sub usage(@) {
@@ -286,7 +288,9 @@ sub lenient_array_compare($$) {
sub diff_lenient_float($$) {
my ($reffile, $outfile) = @_;
my $status = 0;
+
my $diff_opts = '-N --minimal --side-by-side --suppress-common-lines --ignore-all-space --strip-trailing-cr -W 200';
+
my $tmpf = 'lenient-diff.tmp';
system("$Diff $diff_opts $reffile $outfile >$tmpf");
$status = $? >> 8;
@@ -349,7 +353,7 @@ sub diff($$) {
}
# Actually run the diff
- my $diff_cmd = "$Diff -N $reffile $outfile";
+ my $diff_cmd = "$Diff $diff_opts $reffile $outfile";
system("$diff_cmd >diff.tmp");
$status = $? >> 8;
if (-s 'diff.tmp') {
@@ -723,7 +727,7 @@ __DATA__
train-sets/ref/bs.prvote.predict
# Test 29: affix features
-{VW} -d train-sets/affix_test.dat -k -c --passes 40 --holdout_after 4 --affix -2
+{VW} -d train-sets/affix_test.dat -k -c --passes 10 --holdout_off --affix -2
train-sets/ref/affix_test.stdout
train-sets/ref/affix_test.stderr