Skip to content

Commit

Permalink
test: set synonyms file path in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jun 1, 2016
1 parent 1c2bd96 commit 72c42b3
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/command/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ fi
GRN_PLUGINS_DIR="$top_dir/plugins"
export GRN_PLUGINS_DIR

GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE="$top_dir/test/command/tmp/synonyms.tsv"
export GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE

GRN_RUBY_SCRIPTS_DIR="$top_dir/lib/mrb/scripts"
export GRN_RUBY_SCRIPTS_DIR

Expand Down
1 change: 1 addition & 0 deletions test/command/suite/dump/schema/plugin/multiple.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugin_register token_filters/stop_word
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
plugin_register query_expanders/tsv

Expand Down
1 change: 1 addition & 0 deletions test/command/suite/plugin_register/existence.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
plugin_register "query_expanders/tsv"

Expand Down
1 change: 1 addition & 0 deletions test/command/suite/plugin_unregister/existence.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
register "query_expanders/tsv"

Expand Down
1 change: 1 addition & 0 deletions test/command/suite/schema/plugins.test
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
plugin_register query_expanders/tsv

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
register "query_expanders/tsv"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#$GRN_QUERY_EXPANDER_TSV_SYNONYMS_FILE=#{base_directory}/tmp/synonyms.tsv
#@copy-path fixture/query_expander/tsv/expand.tsv tmp/synonyms.tsv
register "query_expanders/tsv"

Expand Down

0 comments on commit 72c42b3

Please sign in to comment.