[why] Because after using "rspec spec/submit_spec.rb", i need the output of different case.yaml to be placed in output (spec/submit/merge_yaml/*.yaml/output)
Signed-off-by: Hu XueJiao 1034502035@qq.com --- sbin/submit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sbin/submit b/sbin/submit index 9bba1018..050e3d44 100755 --- a/sbin/submit +++ b/sbin/submit @@ -9,6 +9,7 @@ require "#{LKP_SRC}/lib/distro_info" require "#{LKP_SRC}/lib/scheduler_client" require 'optparse' require 'yaml' +require 'fileutils'
opt_set_key_value = {} opt_cmdline_defaults = {} @@ -35,7 +36,7 @@ options = OptionParser.new do |opts| exit 1 end opt_output_dir = dir - Dir.mkdir(dir) unless File.directory? dir + FileUtils.mkdir_p(dir) unless File.directory? dir end
opts.on('-a', '--auto-define-files', 'auto add define_files') do