exe/benchmark-driver in benchmark_driver-0.15.14 vs exe/benchmark-driver in benchmark_driver-0.15.15
- old
+ new
@@ -122,10 +122,10 @@
job.merge!(YAML.load_file(path))
end
begin
# `working_directory` is YAML-specific special parameter, mainly for "command_stdout"
- BenchmarkDriver::JobParser.parse(job, working_directory: File.dirname(path))
+ BenchmarkDriver::JobParser.parse(job, working_directory: File.expand_path(File.dirname(path)))
rescue ArgumentError
$stderr.puts "benchmark-driver: Failed to parse #{path.dump}."
$stderr.puts ' YAML format may be wrong. See error below:'
$stderr.puts
raise