Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Clang/++ compile errors; #487 #525

Merged
merged 1 commit into from
Oct 5, 2019
Merged

Limit Clang/++ compile errors; #487 #525

merged 1 commit into from
Oct 5, 2019

Conversation

Carson-Tang
Copy link
Member

Closes #487

@@ -1,9 +1,15 @@
from .gcc_executor import GCCExecutor


MAX_ERRORS = 5
Copy link
Member

Choose a reason for hiding this comment

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

This should be imported from .gcc_executor.

@codecov-io
Copy link

codecov-io commented Oct 5, 2019

Codecov Report

Merging #525 into master will increase coverage by 0.03%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #525      +/-   ##
==========================================
+ Coverage    72.8%   72.84%   +0.03%     
==========================================
  Files         126      126              
  Lines        3938     3940       +2     
==========================================
+ Hits         2867     2870       +3     
+ Misses       1071     1070       -1
Impacted Files Coverage Δ
dmoj/executors/clang_executor.py 100% <100%> (ø) ⬆️
dmoj/executors/base_executor.py 78.44% <0%> (+0.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 200cf76...f2fe03a. Read the comment docs.

@@ -1,9 +1,13 @@
from .gcc_executor import GCCExecutor
from .gcc_executor import MAX_ERRORS
Copy link
Member

Choose a reason for hiding this comment

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

This should be imported as part of the first line.

@Xyene Xyene merged commit 7a09807 into DMOJ:master Oct 5, 2019
@Carson-Tang Carson-Tang deleted the clang-error-limit branch October 5, 2019 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clang and Clang++ always give a compilation warning due to -fmax-errors
3 participants