Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add some tests for interestingness scripts.#50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@jschwartzentruber
Copy link
Collaborator

These are ported from#36.

@codecov-io
Copy link

codecov-io commentedAug 29, 2017
edited
Loading

Codecov Report

Merging#50 intomaster willincrease coverage by9.31%.
The diff coverage is93.63%.

Impacted file tree graph

@@            Coverage Diff             @@##           master      #50      +/-   ##==========================================+ Coverage    73.7%   83.01%   +9.31%==========================================  Files          13       13                Lines        1559     1666     +107     ==========================================+ Hits         1149     1383     +234+ Misses        410      283     -127
Impacted FilesCoverage Δ
src/lithium/interestingness/crashes.py100% <100%> (+72.22%)⬆️
src/lithium/interestingness/timed_run.py70.87% <100%> (+56.31%)⬆️
tests/test_lithium.py94.96% <93.51%> (-0.4%)⬇️
src/lithium/reducer.py80.92% <0%> (+0.12%)⬆️
src/lithium/interestingness/utils.py56.38% <0%> (+28.72%)⬆️
src/lithium/interestingness/outputs.py100% <0%> (+66.66%)⬆️
src/lithium/interestingness/hangs.py100% <0%> (+66.66%)⬆️
src/lithium/interestingness/range.py95.45% <0%> (+68.18%)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updatea0943b3...e4d7dca. Read thecomment docs.

Copy link
Contributor

@nth10sdnth10sd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thanks for implementing the changes we discussed early on over IRC!

Only some nits to take care of now, so r+

msg="CRASHED (Address Sanitizer fault)"
sta=CRASHED
elifreturn_code>0:
elif0<return_code<0x80000000:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Update the comment in theelse block that return_code can now be>= 0x80000000 in theelse block.

" if len(sys.argv) > 1"
" else os.listdir('.'))"
"]")]
sleep_cmd= [sys.executable,"-c","import time;time.sleep(3)"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Can we make sleep_cmd accept a variable timeout number, other than 3? I'm not really insistent on this though.

winreg.KEY_QUERY_VALUE|winreg.KEY_SET_VALUE)
self.wer_disabled=bool(winreg.QueryValueEx(wer,"Disabled")[0])
ifnotself.wer_disabled:
winreg.SetValueEx(wer,"Disabled",0,winreg.REG_DWORD,1)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

As discussed over IRC, let's add a comment that we are not sure if we are disabling reporting to Microsoft, or whether we are disabling crash report generation altogether.

@jschwartzentruberjschwartzentruber merged commitf69ee76 intoMozillaSecurity:masterAug 29, 2017
@jschwartzentruberjschwartzentruber deleted the add-interestingness-tests branchAugust 29, 2017 18:40
@nth10sdnth10sd mentioned this pull requestAug 29, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@nth10sdnth10sdnth10sd approved these changes

Reviewers whose approvals may not affect merge requirements

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@jschwartzentruber@codecov-io@nth10sd

[8]ページ先頭

©2009-2025 Movatter.jp