diff options
Diffstat (limited to 'tests/stress_test.rb')
-rwxr-xr-x | tests/stress_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/stress_test.rb b/tests/stress_test.rb index 88804ba..70bf767 100755 --- a/tests/stress_test.rb +++ b/tests/stress_test.rb @@ -1,6 +1,8 @@ #!/usr/bin/env ruby -require './common.rb' +# if we are being run by make check it will set srcdir and we should use it +$LOAD_PATH << (ENV['srcdir'] || '.') +require 'common.rb' require 'shellwords' if ARGV.length == 0 || ['-h', '--help'].include?(ARGV[0]) |