test/unit/storages.rb in ruote-2.1.9 vs test/unit/storages.rb in ruote-2.1.10

- old
+ new

@@ -1,17 +1,37 @@ -puts "\n\n\n== in memory" +dashdash = `ruby -v`.match(/^ruby 1\.9\./) ? '' : '--' + +puts("\n\n== in memory") puts puts `ruby test/unit/storage.rb` +puts("\nFAILED") if $?.exitstatus.to_i != 0 -puts "\n\n\n== fs_storage" +puts("\n\n== fs") puts -puts `ruby test/unit/storage.rb --fs` +puts `ruby test/unit/storage.rb #{dashdash} --fs` +puts("\nFAILED") if $?.exitstatus.to_i != 0 -puts "\n\n\n== couch_storage" +puts("\n\n== route-couch") puts -puts `ruby -r patron -r yajl test/unit/storage.rb --couch` +#puts `ruby -r patron -r yajl test/unit/storage.rb #{dashdash} --couch` +puts `ruby test/unit/storage.rb #{dashdash} --couch` +puts("\nFAILED") if $?.exitstatus.to_i != 0 -puts "\n\n\n== dm_storage" +puts("\n\n== route-dm") puts -puts `ruby -r yajl test/unit/storage.rb --dm` +#puts `ruby -r yajl test/unit/storage.rb #{dashdash} --dm` +puts `ruby test/unit/storage.rb #{dashdash} --dm` +puts("\nFAILED") if $?.exitstatus.to_i != 0 + +puts("\n\n== route-redis") +puts +#puts `ruby -r yajl test/unit/storage.rb #{dashdash} --redis` +puts `ruby test/unit/storage.rb #{dashdash} --redis` +puts("\nFAILED") if $?.exitstatus.to_i != 0 + +puts("\n\n== route-beanstalk") +puts +#puts `ruby -r yajl test/unit/storage.rb #{dashdash} --beanstalk` +puts `ruby test/unit/storage.rb #{dashdash} --beanstalk` +puts("\nFAILED") if $?.exitstatus.to_i != 0