You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by nw...@apache.org on 2014/12/27 15:25:36 UTC
lucy git commit: Adjust for API change when skipping tests
Repository: lucy
Updated Branches:
refs/heads/master 51c231cd7 -> dffc23a47
Adjust for API change when skipping tests
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/dffc23a4
Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/dffc23a4
Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/dffc23a4
Branch: refs/heads/master
Commit: dffc23a475ed0ecb119768c239baa7cf8f03ef1e
Parents: 51c231c
Author: Nick Wellnhofer <we...@aevum.de>
Authored: Sat Dec 27 15:08:40 2014 +0100
Committer: Nick Wellnhofer <we...@aevum.de>
Committed: Sat Dec 27 15:08:40 2014 +0100
----------------------------------------------------------------------
core/Lucy/Test/Analysis/TestNormalizer.c | 3 ++-
core/Lucy/Test/Analysis/TestPolyAnalyzer.c | 4 +---
core/Lucy/Test/Analysis/TestRegexTokenizer.c | 4 +---
core/Lucy/Test/Search/TestQueryParserSyntax.c | 7 ++-----
4 files changed, 6 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucy/blob/dffc23a4/core/Lucy/Test/Analysis/TestNormalizer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Analysis/TestNormalizer.c b/core/Lucy/Test/Analysis/TestNormalizer.c
index e0f8e5d..3c7cd8a 100644
--- a/core/Lucy/Test/Analysis/TestNormalizer.c
+++ b/core/Lucy/Test/Analysis/TestNormalizer.c
@@ -111,7 +111,8 @@ test_normalization(TestBatchRunner *runner) {
static void
test_utf8proc_normalization(TestBatchRunner *runner) {
- SKIP(runner, "utf8proc can't handle control chars or Unicode non-chars");
+ SKIP(runner, 1,
+ "utf8proc can't handle control chars or Unicode non-chars");
return;
for (int32_t i = 0; i < 100; i++) {
http://git-wip-us.apache.org/repos/asf/lucy/blob/dffc23a4/core/Lucy/Test/Analysis/TestPolyAnalyzer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Analysis/TestPolyAnalyzer.c b/core/Lucy/Test/Analysis/TestPolyAnalyzer.c
index 30c9885..083eafe 100644
--- a/core/Lucy/Test/Analysis/TestPolyAnalyzer.c
+++ b/core/Lucy/Test/Analysis/TestPolyAnalyzer.c
@@ -37,9 +37,7 @@ TestPolyAnalyzer_new() {
static void
test_Dump_Load_and_Equals(TestBatchRunner *runner) {
if (!RegexTokenizer_is_available()) {
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
+ SKIP(runner, 3, "RegexTokenizer not available");
return;
}
http://git-wip-us.apache.org/repos/asf/lucy/blob/dffc23a4/core/Lucy/Test/Analysis/TestRegexTokenizer.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Analysis/TestRegexTokenizer.c b/core/Lucy/Test/Analysis/TestRegexTokenizer.c
index c5755bd..ae80921 100644
--- a/core/Lucy/Test/Analysis/TestRegexTokenizer.c
+++ b/core/Lucy/Test/Analysis/TestRegexTokenizer.c
@@ -32,9 +32,7 @@ TestRegexTokenizer_new() {
static void
test_Dump_Load_and_Equals(TestBatchRunner *runner) {
if (!RegexTokenizer_is_available()) {
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
+ SKIP(runner, 3, "RegexTokenizer not available");
return;
}
http://git-wip-us.apache.org/repos/asf/lucy/blob/dffc23a4/core/Lucy/Test/Search/TestQueryParserSyntax.c
----------------------------------------------------------------------
diff --git a/core/Lucy/Test/Search/TestQueryParserSyntax.c b/core/Lucy/Test/Search/TestQueryParserSyntax.c
index fec1896..119cce8 100644
--- a/core/Lucy/Test/Search/TestQueryParserSyntax.c
+++ b/core/Lucy/Test/Search/TestQueryParserSyntax.c
@@ -376,14 +376,11 @@ static void
test_query_parser_syntax(TestBatchRunner *runner) {
if (!RegexTokenizer_is_available()) {
for (uint32_t i = 0; leaf_test_funcs[i] != NULL; i++) {
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
+ SKIP(runner, 3, "RegexTokenizer not available");
}
for (uint32_t i = 0; syntax_test_funcs[i] != NULL; i++) {
- SKIP(runner, "RegexTokenizer not available");
- SKIP(runner, "RegexTokenizer not available");
+ SKIP(runner, 2, "RegexTokenizer not available");
}
return;