Update the LoadTesting framework.
Permit use of Git while still supporting Subversion. Improve the script structure and reduce dependence on hard-coded paths.
This commit is contained in:
parent
f382ec0468
commit
4f085bcdfe
20 changed files with 120 additions and 70 deletions
|
@ -12,12 +12,18 @@ Record that selection, along with the desired number of iterations and threads.
|
|||
--------------------------------------------------------------------------------
|
||||
=end
|
||||
|
||||
@test_parms_file = "#{File.dirname(__FILE__)}/subscripts/_current_test.rb"
|
||||
begin
|
||||
require File.expand_path('subscripts/common', File.dirname(__FILE__))
|
||||
rescue LoadError => e
|
||||
puts e
|
||||
end
|
||||
|
||||
@test_parms_file = "#{@home}/scripts/subscripts/_current_test.rb"
|
||||
|
||||
# Find out what tests we have available
|
||||
def build_test_list()
|
||||
@test_names = []
|
||||
Dir.foreach("/home/jeb228/LoadTesting/testinfo/tests") do |filename|
|
||||
Dir.foreach(test_file('tests')) do |filename|
|
||||
@test_names.push(filename) unless filename[0,1] == "."
|
||||
end
|
||||
@test_names.sort!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue