Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added a binary

  • Loading branch information...
commit cf7d62945a8ce6c213506503e18e5d77a952ac2d 1 parent 62022c0
Aidy Lewis authored

Showing 2 changed files with 15 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  lib/tsung_log_parser.rb
  2. +12 0 tsung-log-parser
3  lib/tsung_log_parser.rb
... ... @@ -1,3 +1,6 @@
  1 +require "log_parser"
  2 +require "dump_parser"
  3 +
1 4 class TsungLogParser
2 5 def self.execute output, tsung_log, tsung_dump
3 6 parsed_log = LogParser.parse(File.read tsung_log)
12 tsung-log-parser
... ... @@ -0,0 +1,12 @@
  1 +#!/usr/bin/env ruby
  2 +
  3 +$:.unshift File.join(File.dirname(__FILE__), "lib")
  4 +require 'tsung_log_parser'
  5 +
  6 +if ARGV.size == 2
  7 + log = ARGV[0]
  8 + dump = ARGV[1]
  9 + TsungLogParser.execute(Kernel, log, dump)
  10 +else
  11 + puts "Usage: tsung-log-parser tsung.log tsung.dump"
  12 +end

0 comments on commit cf7d629

Please sign in to comment.
Something went wrong with that request. Please try again.