Kouhei Sutou
null+****@clear*****
Thu Oct 4 10:31:45 JST 2012
Kouhei Sutou 2011-11-07 14:18:35 +0900 (Mon, 07 Nov 2011) New Revision: ea7d019b1fbbad74b7fc2bea34c9ac1d26ea67e1 https://github.com/mroonga/mroonga/commit/ea7d019b1fbbad74b7fc2bea34c9ac1d26ea67e1 Log: don't include generated files. Modified files: test/sql/groonga_storage/r/files.am test/sql/update-result-files.sh Modified: test/sql/groonga_storage/r/files.am (+1 -1) =================================================================== --- test/sql/groonga_storage/r/files.am 2011-11-07 14:08:24 +0900 (02f9928) +++ test/sql/groonga_storage/r/files.am 2011-11-07 14:18:35 +0900 (f82f9db) @@ -34,7 +34,7 @@ result_files = \ hash_index_id_primary.result \ hash_index_id_unique.result \ hash_index_normal_column_insert.result \ - information_schema.result \ + information_schema.result.in \ insert.result \ last_insert_grn_id.result \ log_level.result \ Modified: test/sql/update-result-files.sh (+10 -1) =================================================================== --- test/sql/update-result-files.sh 2011-11-07 14:08:24 +0900 (deca217) +++ test/sql/update-result-files.sh 2011-11-07 14:18:35 +0900 (130e380) @@ -1,5 +1,14 @@ #!/bin/sh +remove_generated_path() +{ + while read path; do + if [ ! -f "$path.in" ]; then + echo "$path" + fi + done +} + list_paths() { variable_name=$1 @@ -12,7 +21,7 @@ list_paths() echo } -(find . -type f -name '*.result'; \ +(find . -type f -name '*.result' | remove_generated_path; \ find . -type f -name '*.result.in') | \ sed -e 's,\./,,' | \ list_paths "result_files" -------------- next part -------------- HTML����������������������������...Download