[Groonga-commit] groonga/groonga at e9d9624 [master] test: use a file for test

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jun 16 22:53:45 JST 2014


Kouhei Sutou	2014-06-16 22:53:45 +0900 (Mon, 16 Jun 2014)

  New Revision: e9d9624b431316cc53dc9ed2a38179cf1291c31b
  https://github.com/groonga/groonga/commit/e9d9624b431316cc53dc9ed2a38179cf1291c31b

  Message:
    test: use a file for test

  Added files:
    lib/mrb/scripts/test/empty.rb
  Modified files:
    lib/mrb/scripts/Makefile.am
    test/command/suite/ruby/load/existent.expected
    test/command/suite/ruby/load/existent.test

  Modified: lib/mrb/scripts/Makefile.am (+3 -1)
===================================================================
--- lib/mrb/scripts/Makefile.am    2014-06-16 22:48:32 +0900 (9a99fa5)
+++ lib/mrb/scripts/Makefile.am    2014-06-16 22:53:45 +0900 (db42446)
@@ -1,7 +1,9 @@
 include sources.am
 
+EXTRA_DIST = test/empty.rb
+
 if WITH_MRUBY
 ruby_scripts_DATA = $(RUBY_SCRIPT_FILES)
 else
-EXTRA_DIST = $(RUBY_SCRIPT_FILES)
+EXTRA_DIST += $(RUBY_SCRIPT_FILES)
 endif

  Added: lib/mrb/scripts/test/empty.rb (+1 -0) 100644
===================================================================
--- /dev/null
+++ lib/mrb/scripts/test/empty.rb    2014-06-16 22:53:45 +0900 (123002d)
@@ -0,0 +1 @@
+# This file is just for test.

  Modified: test/command/suite/ruby/load/existent.expected (+1 -1)
===================================================================
--- test/command/suite/ruby/load/existent.expected    2014-06-16 22:48:32 +0900 (0164760)
+++ test/command/suite/ruby/load/existent.expected    2014-06-16 22:53:45 +0900 (93e0bbd)
@@ -1,4 +1,4 @@
 register ruby/load
 [[0,0.0,0.0],true]
-ruby_load "expression.rb"
+ruby_load "test/empty.rb"
 [[0,0.0,0.0],{"value":null}]

  Modified: test/command/suite/ruby/load/existent.test (+1 -1)
===================================================================
--- test/command/suite/ruby/load/existent.test    2014-06-16 22:48:32 +0900 (03d95b3)
+++ test/command/suite/ruby/load/existent.test    2014-06-16 22:53:45 +0900 (a816d13)
@@ -2,4 +2,4 @@
 register ruby/load
 #@on-error default
 
-ruby_load "expression.rb"
+ruby_load "test/empty.rb"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index