lib/run_loop/xcuitest.rb in run_loop-2.1.1.pre3 vs lib/run_loop/xcuitest.rb in run_loop-2.1.1.pre4
- old
+ new
@@ -42,16 +42,13 @@
xcuitest.launch
xcuitest
end
# @!visibility private
- def self.log_file
- path = File.join(XCUITest.dot_dir, "xcuitest.log")
-
- if !File.exist?(path)
- FileUtils.touch(path)
- end
+ def self.xcodebuild_log_file
+ path = File.join(XCUITest.dot_dir, "xcodebuild.log")
+ FileUtils.touch(path) if !File.exist?(path)
path
end
# @!visibility private
#
@@ -312,10 +309,10 @@
"id=#{device.udid}",
"clean",
"test"
]
- log_file = XCUITest.log_file
+ log_file = XCUITest.xcodebuild_log_file
options = {
:out => log_file,
:err => log_file
}