-
Notifications
You must be signed in to change notification settings - Fork 5
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
Debug symbols tests #6
Conversation
As we can see CI failed with the message file ./inst/testpkgs/testSAN/src/read_out_of_bound.o which returns the following result when the system is not including debug symbols
When debug symbols are available, however, the string
Let's restore the changes made in the pull request #3 and check if CI works. |
CI is no longer failing, and the issue has been resolved. |
looks like a good start @FabrizioSandri
|
I'm seeing new issues while developing the new GitHub action. The first is concerning Roxygen code examples that don't work for the The second relates to testthat. I discovered two more issues while running the tests for the library in the
|
In the last four commits I have done the following changes:
Next steps: implement the check for debug symbols using the testthat suite. |
While searching for a way to perform non deterministic fuzz testing with RcppDeepState by using some kind of seeds, I discovered that the seeds of DeepState would not work if the RInside declaration is made inside the Finally in the last commit I've introduced a |
With the last few commits, I have been able to fix the issue that the inputs of some functions are not generated. The problem was due to a Segmentation fault that prevented DeepState to create the output files. A possible solution for this problem is to separate the test harness into two different tests:
By doing this way we ensure that no error prevents the input of being generated. This solves the Issue #7 |
@tdhock I included in the last commit the check for debug symbols. Simply put, the test uses a predefined seed that has been shown locally to uncover some errors in the testSAN package. If the result table for the analysis is empty, the library wasn't built with the |
great thanks. |
This pull request is meant to implement CI test for the pull request #3.
Description
We want to see if debug symbols are included by default in the generated library when invoking the command
R CMD INSTALL
on specific platforms; in this example, Arch Linux-based systems. To test this, I'll remove the-g
option, which was added in pull request #3 and run CI.