Sha256: 5db8fb4dffdb5e9c59969bfbc0cd145e5e263119d818eb5047ce811f2e0ea95a

Contents?: true

Size: 531 Bytes

Versions: 8

Compression:

Stored size: 531 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'openstudio_measure_tester'

measure_dir = File.absolute_path(ARGV[0], Dir.pwd)

if !File.exist?(measure_dir)
  puts "'#{measure_dir}}' does not exist"
  exit
end

begin
  runner = OpenStudioMeasureTester::Runner.new(measure_dir)
  runner.run_all(Dir.pwd)
rescue StandardError => e
  puts
  puts '!!!!!!!!!!!!!!!!!!!!! Error Occurred !!!!!!!!!!!!!!!!!!!!!'
  puts e.message
  puts e.backtrace
  puts '!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
  puts
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
openstudio_measure_tester-0.4.0 bin/run_measure_tests
openstudio_measure_tester-0.3.3 bin/run_measure_tests
openstudio_measure_tester-0.3.2 bin/run_measure_tests
openstudio_measure_tester-0.3.1 bin/run_measure_tests
openstudio_measure_tester-0.3.0 bin/run_measure_tests
openstudio_measure_tester-0.2.3 bin/run_measure_tests
openstudio_measure_tester-0.2.2 bin/run_measure_tests
openstudio_measure_tester-0.2.1 bin/run_measure_tests