BigW Consortium Gitlab

parallel_diff_result.yml 13.2 KB
Newer Older
1
---
2 3 4 5 6 7 8 9 10 11 12
- :left:
    :type: match
    :number: 6
    :text: "@@ -6,12 +6,18 @@ module Popen"
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_6_6
  :right:
    :type: match
    :number: 6
    :text: "@@ -6,12 +6,18 @@ module Popen"
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_6_6
- :left:
13
    :type:
14 15 16 17 18
    :number: 6
    :text: |2
       <span id="LC6" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_6_6
  :right:
19
    :type:
20 21 22 23 24
    :number: 6
    :text: |2
       <span id="LC6" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_6_6
- :left:
25
    :type:
26 27 28 29 30
    :number: 7
    :text: |2
       <span id="LC7" class="line">  <span class="k">def</span> <span class="nf">popen</span><span class="p">(</span><span class="n">cmd</span><span class="p">,</span> <span class="n">path</span><span class="o">=</span><span class="kp">nil</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_7_7
  :right:
31
    :type:
32 33 34 35 36
    :number: 7
    :text: |2
       <span id="LC7" class="line">  <span class="k">def</span> <span class="nf">popen</span><span class="p">(</span><span class="n">cmd</span><span class="p">,</span> <span class="n">path</span><span class="o">=</span><span class="kp">nil</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_7_7
- :left:
37
    :type:
38 39 40 41 42
    :number: 8
    :text: |2
       <span id="LC8" class="line">    <span class="k">unless</span> <span class="n">cmd</span><span class="p">.</span><span class="nf">is_a?</span><span class="p">(</span><span class="no">Array</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_8_8
  :right:
43
    :type:
44 45 46 47 48 49 50 51 52 53 54 55 56 57
    :number: 8
    :text: |2
       <span id="LC8" class="line">    <span class="k">unless</span> <span class="n">cmd</span><span class="p">.</span><span class="nf">is_a?</span><span class="p">(</span><span class="no">Array</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_8_8
- :left:
    :type: old
    :number: 9
    :text: |
      -<span id="LC9" class="line">      <span class="k">raise</span> <span class="s2">&quot;System commands must be given as an array of strings&quot;</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_9_9
  :right:
    :type: new
    :number: 9
    :text: |
58
      +<span id="LC9" class="line">      <span class="k">raise</span> <span class="no"><span class='idiff left'>RuntimeError</span></span><span class="p"><span class='idiff'>,</span></span><span class='idiff right'> </span><span class="s2">&quot;System commands must be given as an array of strings&quot;</span></span>
59 60
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_10_9
- :left:
61
    :type:
62 63 64 65 66
    :number: 10
    :text: |2
       <span id="LC10" class="line">    <span class="k">end</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_10_10
  :right:
67
    :type:
68 69 70 71 72
    :number: 10
    :text: |2
       <span id="LC10" class="line">    <span class="k">end</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_10_10
- :left:
73
    :type:
74 75 76 77 78
    :number: 11
    :text: |2
       <span id="LC11" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_11_11
  :right:
79
    :type:
80 81 82 83 84
    :number: 11
    :text: |2
       <span id="LC11" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_11_11
- :left:
85
    :type:
86 87 88 89 90
    :number: 12
    :text: |2
       <span id="LC12" class="line">    <span class="n">path</span> <span class="o">||=</span> <span class="no">Dir</span><span class="p">.</span><span class="nf">pwd</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_12_12
  :right:
91
    :type:
92 93 94 95 96 97 98 99 100 101 102 103
    :number: 12
    :text: |2
       <span id="LC12" class="line">    <span class="n">path</span> <span class="o">||=</span> <span class="no">Dir</span><span class="p">.</span><span class="nf">pwd</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_12_12
- :left:
    :type: old
    :number: 13
    :text: |
      -<span id="LC13" class="line">    <span class="n">vars</span> <span class="o">=</span> <span class="p">{</span> <span class="s2">&quot;PWD&quot;</span> <span class="o">=&gt;</span> <span class="n">path</span> <span class="p">}</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_13_13
  :right:
    :type: old
104
    :number:
105
    :text: ''
106
    :line_code:
107 108 109 110 111 112 113 114 115 116 117 118 119
- :left:
    :type: old
    :number: 14
    :text: |
      -<span id="LC14" class="line">    <span class="n">options</span> <span class="o">=</span> <span class="p">{</span> <span class="ss">chdir: </span><span class="n">path</span> <span class="p">}</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_14_13
  :right:
    :type: new
    :number: 13
    :text: |
      +<span id="LC13" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_13
- :left:
120 121
    :type:
    :number:
122 123 124 125 126 127 128 129 130
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_14
  :right:
    :type: new
    :number: 14
    :text: |
      +<span id="LC14" class="line">    <span class="n">vars</span> <span class="o">=</span> <span class="p">{</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_14
- :left:
131 132
    :type:
    :number:
133 134 135 136 137 138 139 140 141
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_15
  :right:
    :type: new
    :number: 15
    :text: |
      +<span id="LC15" class="line">      <span class="s2">&quot;PWD&quot;</span> <span class="o">=&gt;</span> <span class="n">path</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_15
- :left:
142 143
    :type:
    :number:
144 145 146 147 148 149 150 151 152
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_16
  :right:
    :type: new
    :number: 16
    :text: |
      +<span id="LC16" class="line">    <span class="p">}</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_16
- :left:
153 154
    :type:
    :number:
155 156 157 158 159 160 161 162 163
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_17
  :right:
    :type: new
    :number: 17
    :text: |
      +<span id="LC17" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_17
- :left:
164 165
    :type:
    :number:
166 167 168 169 170 171 172 173 174
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_18
  :right:
    :type: new
    :number: 18
    :text: |
      +<span id="LC18" class="line">    <span class="n">options</span> <span class="o">=</span> <span class="p">{</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_18
- :left:
175 176
    :type:
    :number:
177 178 179 180 181 182 183 184 185
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_19
  :right:
    :type: new
    :number: 19
    :text: |
      +<span id="LC19" class="line">      <span class="ss">chdir: </span><span class="n">path</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_19
- :left:
186 187
    :type:
    :number:
188 189 190 191 192 193 194 195 196
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_20
  :right:
    :type: new
    :number: 20
    :text: |
      +<span id="LC20" class="line">    <span class="p">}</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_20
- :left:
197
    :type:
198 199 200 201 202
    :number: 15
    :text: |2
       <span id="LC21" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_21
  :right:
203
    :type:
204 205 206 207 208
    :number: 21
    :text: |2
       <span id="LC21" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_15_21
- :left:
209
    :type:
210 211 212 213 214
    :number: 16
    :text: |2
       <span id="LC22" class="line">    <span class="k">unless</span> <span class="no">File</span><span class="p">.</span><span class="nf">directory?</span><span class="p">(</span><span class="n">path</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_16_22
  :right:
215
    :type:
216 217 218 219 220
    :number: 22
    :text: |2
       <span id="LC22" class="line">    <span class="k">unless</span> <span class="no">File</span><span class="p">.</span><span class="nf">directory?</span><span class="p">(</span><span class="n">path</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_16_22
- :left:
221
    :type:
222 223 224 225 226
    :number: 17
    :text: |2
       <span id="LC23" class="line">      <span class="no">FileUtils</span><span class="p">.</span><span class="nf">mkdir_p</span><span class="p">(</span><span class="n">path</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_17_23
  :right:
227
    :type:
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242
    :number: 23
    :text: |2
       <span id="LC23" class="line">      <span class="no">FileUtils</span><span class="p">.</span><span class="nf">mkdir_p</span><span class="p">(</span><span class="n">path</span><span class="p">)</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_17_23
- :left:
    :type: match
    :number: 19
    :text: "@@ -19,6 +25,7 @@ module Popen"
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_19_25
  :right:
    :type: match
    :number: 25
    :text: "@@ -19,6 +25,7 @@ module Popen"
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_19_25
- :left:
243
    :type:
244 245 246 247 248
    :number: 19
    :text: |2
       <span id="LC25" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_19_25
  :right:
249
    :type:
250 251 252 253 254
    :number: 25
    :text: |2
       <span id="LC25" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_19_25
- :left:
255
    :type:
256 257 258 259 260
    :number: 20
    :text: |2
       <span id="LC26" class="line">    <span class="vi">@cmd_output</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_20_26
  :right:
261
    :type:
262 263 264 265 266
    :number: 26
    :text: |2
       <span id="LC26" class="line">    <span class="vi">@cmd_output</span> <span class="o">=</span> <span class="s2">&quot;&quot;</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_20_26
- :left:
267
    :type:
268 269 270 271 272
    :number: 21
    :text: |2
       <span id="LC27" class="line">    <span class="vi">@cmd_status</span> <span class="o">=</span> <span class="mi">0</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_21_27
  :right:
273
    :type:
274 275 276 277 278
    :number: 27
    :text: |2
       <span id="LC27" class="line">    <span class="vi">@cmd_status</span> <span class="o">=</span> <span class="mi">0</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_21_27
- :left:
279 280
    :type:
    :number:
281 282 283 284 285 286 287 288 289
    :text: ''
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_22_28
  :right:
    :type: new
    :number: 28
    :text: |
      +<span id="LC28" class="line"></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_22_28
- :left:
290
    :type:
291 292 293 294 295
    :number: 22
    :text: |2
       <span id="LC29" class="line">    <span class="no">Open3</span><span class="p">.</span><span class="nf">popen3</span><span class="p">(</span><span class="n">vars</span><span class="p">,</span> <span class="o">*</span><span class="n">cmd</span><span class="p">,</span> <span class="n">options</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">stdin</span><span class="p">,</span> <span class="n">stdout</span><span class="p">,</span> <span class="n">stderr</span><span class="p">,</span> <span class="n">wait_thr</span><span class="o">|</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_22_29
  :right:
296
    :type:
297 298 299 300 301
    :number: 29
    :text: |2
       <span id="LC29" class="line">    <span class="no">Open3</span><span class="p">.</span><span class="nf">popen3</span><span class="p">(</span><span class="n">vars</span><span class="p">,</span> <span class="o">*</span><span class="n">cmd</span><span class="p">,</span> <span class="n">options</span><span class="p">)</span> <span class="k">do</span> <span class="o">|</span><span class="n">stdin</span><span class="p">,</span> <span class="n">stdout</span><span class="p">,</span> <span class="n">stderr</span><span class="p">,</span> <span class="n">wait_thr</span><span class="o">|</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_22_29
- :left:
302
    :type:
303 304 305 306 307
    :number: 23
    :text: |2
       <span id="LC30" class="line">      <span class="vi">@cmd_output</span> <span class="o">&lt;&lt;</span> <span class="n">stdout</span><span class="p">.</span><span class="nf">read</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_23_30
  :right:
308
    :type:
309 310 311 312 313
    :number: 30
    :text: |2
       <span id="LC30" class="line">      <span class="vi">@cmd_output</span> <span class="o">&lt;&lt;</span> <span class="n">stdout</span><span class="p">.</span><span class="nf">read</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_23_30
- :left:
314
    :type:
315 316 317 318 319
    :number: 24
    :text: |2
       <span id="LC31" class="line">      <span class="vi">@cmd_output</span> <span class="o">&lt;&lt;</span> <span class="n">stderr</span><span class="p">.</span><span class="nf">read</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_24_31
  :right:
320
    :type:
321 322 323 324
    :number: 31
    :text: |2
       <span id="LC31" class="line">      <span class="vi">@cmd_output</span> <span class="o">&lt;&lt;</span> <span class="n">stderr</span><span class="p">.</span><span class="nf">read</span></span>
    :line_code: 2f6fcd96b88b36ce98c38da085c795a27d92a3dd_24_31