run_loop 0.0.20 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/run_loop/core.rb +4 -3
- data/lib/run_loop/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6dc8ffb3c9c01a22771a155a6d8de16b603af639
|
|
4
|
+
data.tar.gz: eda684a2462c2de9f15f8377472bfab851a17a70
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43cea7295dba71057cd2ef97d51bbf8ec153b73fc2eb6da0b0b079e3f5cc0e435f9f41d4a21103ecbaa3c1611860968c507a831fd3334e4e460d5c17ad801e35
|
|
7
|
+
data.tar.gz: 6b0385b4497b0e02e1a57258fbcd9517254b5aac05207e1d87f3907edfe4d5478d5f3335e15aa9b845ac8e2482be5e57c7be74a53b3ff3e3d402b422c77edbe1
|
data/lib/run_loop/core.rb
CHANGED
|
@@ -51,7 +51,7 @@ module RunLoop
|
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
log_file = options[:log_path]
|
|
54
|
-
timeout = options[:timeout] ||
|
|
54
|
+
timeout = options[:timeout] || 30
|
|
55
55
|
|
|
56
56
|
results_dir = options[:results_dir] || Dir.mktmpdir("run_loop")
|
|
57
57
|
results_dir_trace = File.join(results_dir, "trace")
|
|
@@ -119,6 +119,7 @@ module RunLoop
|
|
|
119
119
|
puts "bundle_dir_or_bundle_id=#{bundle_dir_or_bundle_id}"
|
|
120
120
|
puts "script=#{script}"
|
|
121
121
|
puts "log_file=#{log_file}"
|
|
122
|
+
puts "timeout=#{timeout}"
|
|
122
123
|
end
|
|
123
124
|
|
|
124
125
|
after = Time.now
|
|
@@ -155,7 +156,7 @@ module RunLoop
|
|
|
155
156
|
read_response(run_loop, 0)
|
|
156
157
|
end
|
|
157
158
|
rescue TimeoutError => e
|
|
158
|
-
raise TimeoutError, "Time out waiting for UIAutomation run-loop to Start. \n Logfile #{log_file} \n #{File.read(log_file)}"
|
|
159
|
+
raise TimeoutError, "Time out waiting for UIAutomation run-loop to Start. \n Logfile #{log_file} \n\n #{File.read(log_file)}\n"
|
|
159
160
|
end
|
|
160
161
|
|
|
161
162
|
after = Time.now()
|
|
@@ -327,7 +328,7 @@ module RunLoop
|
|
|
327
328
|
if ENV['DEBUG']=='1'
|
|
328
329
|
puts "Killing instruments"
|
|
329
330
|
end
|
|
330
|
-
`killall -9 instruments
|
|
331
|
+
`killall -9 instruments &> /dev/null`
|
|
331
332
|
end
|
|
332
333
|
end
|
|
333
334
|
|
data/lib/run_loop/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: run_loop
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.21
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Karl Krukow
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -89,9 +89,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
89
89
|
version: '0'
|
|
90
90
|
requirements: []
|
|
91
91
|
rubyforge_project:
|
|
92
|
-
rubygems_version: 2.0.
|
|
92
|
+
rubygems_version: 2.0.3
|
|
93
93
|
signing_key:
|
|
94
94
|
specification_version: 4
|
|
95
95
|
summary: Tools related to running Calabash iOS tests
|
|
96
96
|
test_files: []
|
|
97
|
-
has_rdoc:
|