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

Adding extra script for running PyOCF with sanitization #755

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kmajzero
Copy link
Contributor

@kmajzero kmajzero commented Sep 8, 2022

GCC/Clang sanitizer can be used together with PyOCF to catch some errors during testing.

CC was purposely removed from the Makefile. It always points to GCC on Linux by default. This allows to change the compiler and its options during the run of the script

Signed-off-by: Krzysztof Majzerowicz-Jaszcz [email protected]

@codecov
Copy link

codecov bot commented Sep 9, 2022

Codecov Report

Merging #755 (3a1db71) into master (fbc612d) will increase coverage by 0.07%.
The diff coverage is n/a.

❗ Current head 3a1db71 differs from pull request most recent head a1a9daf. Consider uploading reports for the commit a1a9daf to get more accurate results

@@            Coverage Diff             @@
##           master     #755      +/-   ##
==========================================
+ Coverage   70.56%   70.64%   +0.07%     
==========================================
  Files          91       90       -1     
  Lines       10100    10092       -8     
==========================================
+ Hits         7127     7129       +2     
+ Misses       2973     2963      -10     
Impacted Files Coverage Δ
src/engine/engine_bf.c 78.94% <0.00%> (ø)
src/engine/engine_pt.c 77.04% <0.00%> (ø)
src/engine/engine_rd.c 58.51% <0.00%> (ø)
src/engine/engine_wa.c 100.00% <0.00%> (ø)
src/engine/engine_wb.c 83.78% <0.00%> (ø)
src/engine/engine_wi.c 83.54% <0.00%> (ø)
src/engine/engine_wo.c 91.58% <0.00%> (ø)
src/engine/engine_wt.c 64.44% <0.00%> (ø)
src/engine/engine_inv.c 0.00% <0.00%> (ø)
src/engine/engine_fast.c 82.60% <0.00%> (ø)
... and 14 more

GCC/Clang sanitizer can be used together with PyOCF
to catch some errors during testing.

CC was purposely removed from the Makefile. It always points
to GCC on Linux by default. This allows to change the compiler
and its options during the run of the script

Signed-off-by: Krzysztof Majzerowicz-Jaszcz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant