mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-05 17:40:51 +08:00
[test] specify working directory path in SIM_STDOUT_PATH/SIM_STDERR_PATH for CI
Looks like the spec result does not output properly with Xcode 6.1 if use '/tmp/xxxx' path for SIM_STDOUT_PATH/SIM_STDERR_PATH
This commit is contained in:
@@ -151,7 +151,7 @@ end
|
||||
# https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins
|
||||
#
|
||||
if ENV['JENKINS_HOME'] && ENV['PLATFORM'] == 'ios'
|
||||
stdout, stderr = '/tmp/sim-stdout.log', '/tmp/sim-stderr.log'
|
||||
stdout, stderr = "#{Dir.pwd}/sim-stdout.log", "#{Dir.pwd}/sim-stderr.log"
|
||||
task :create_ci_output_files do
|
||||
[stdout, stderr].each do |file|
|
||||
FileUtils.rm(file) if File.exist?(file)
|
||||
|
||||
Reference in New Issue
Block a user