diff options
Diffstat (limited to 'bench/bench_helper.rb')
-rw-r--r-- | bench/bench_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bench/bench_helper.rb b/bench/bench_helper.rb index ad5ec13..87ffbb4 100644 --- a/bench/bench_helper.rb +++ b/bench/bench_helper.rb @@ -10,6 +10,8 @@ end $LOAD_PATH.unshift(lib) require 'ffi' +require_relative '../spec/ffi/fixtures/compile' + ITER = ENV['ITER'] ? ENV['ITER'].to_i : 100_000 -LIBTEST_PATH = File.expand_path("../../spec/ffi/fixtures/libtest.#{FFI::Platform::LIBSUFFIX}", __FILE__) +LIBTEST_PATH = TestLibrary::PATH |