Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(569)

Issue 327780043: [plaso] Make end-to-end tests Windows friendly (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 10 months ago by romaing
Modified:
6 years, 10 months ago
Reviewers:
onager
CC:
Joachim Metz, jberggren, kiddi, log2timeline-dev_googlegroups.com, aaronp
Visibility:
Public.

Description

[plaso] Make end-to-end tests Windows friendly * Running tools now calls subprocess.Popen instead of subprocess.call. This makes the use of the stdout an stderr option possible, removing the use of shell redirections * instantiate subprocess.Popen with a list instead of a string, as superior beings intended. * When checking logs, I remove some problematic generated paths that change between platforms * Sprinkled some u's

Patch Set 1 #

Total comments: 5

Patch Set 2 : Also split extract_options from the definition file #

Patch Set 3 : Update RunCommand docstring #

Total comments: 2

Patch Set 4 : Update docstring #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -84 lines) Patch
M config/end-to-end.ini View 1 chunk +1 line, -1 line 0 comments Download
M tests/end-to-end.py View 1 2 3 14 chunks +99 lines, -83 lines 0 comments Download

Messages

Total messages: 11
romaing
6 years, 10 months ago (2017-06-14 16:21:38 UTC) #1
romaing
Sorry for the lame description/title. Renamed in codereview. On 14 June 2017 at 18:21, <reply@codereview-hr.appspotmail.com> ...
6 years, 10 months ago (2017-06-14 16:27:00 UTC) #2
onager
https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py File tests/end-to-end.py (right): https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py#newcode112 tests/end-to-end.py:112: command (list[str]): command to run. Please add some more ...
6 years, 10 months ago (2017-06-16 07:34:49 UTC) #3
romaing
Code updated.
6 years, 10 months ago (2017-06-19 15:12:08 UTC) #4
romaing
Code updated.
6 years, 10 months ago (2017-06-19 15:38:11 UTC) #5
romaing
https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py File tests/end-to-end.py (right): https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py#newcode112 tests/end-to-end.py:112: command (list[str]): command to run. On 2017/06/16 07:34:49, onager ...
6 years, 10 months ago (2017-06-19 15:38:53 UTC) #6
onager
https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py File tests/end-to-end.py (right): https://codereview.appspot.com/327780043/diff/1/tests/end-to-end.py#newcode128 tests/end-to-end.py:128: command, exit_code)) On 2017/06/19 15:38:53, romaing wrote: > On ...
6 years, 10 months ago (2017-06-19 16:33:05 UTC) #7
romaing
Code updated.
6 years, 10 months ago (2017-06-19 16:47:16 UTC) #8
onager
On 2017/06/19 16:47:16, romaing wrote: > Code updated. OK, LGTM, merging.
6 years, 10 months ago (2017-06-20 14:58:03 UTC) #9
romaing
https://codereview.appspot.com/327780043/diff/40001/tests/end-to-end.py File tests/end-to-end.py (right): https://codereview.appspot.com/327780043/diff/40001/tests/end-to-end.py#newcode112 tests/end-to-end.py:112: command (list[str]): full command to run, as expected by ...
6 years, 10 months ago (2017-06-20 15:05:14 UTC) #10
onager
6 years, 10 months ago (2017-06-20 15:07:37 UTC) #11
Changes have been merged with master branch. To close the review and clean up
the feature branch you can run: python ./utils/review.py close command_as_list
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b