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

Add some LibGAP.jl tests and run them on Travis #115

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented Oct 31, 2018

Resolves #102

@codecov
Copy link

codecov bot commented Oct 31, 2018

Codecov Report

Merging #115 into master will increase coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #115      +/-   ##
==========================================
+ Coverage   51.68%   51.99%   +0.31%     
==========================================
  Files          42       42              
  Lines        2552     2552              
==========================================
+ Hits         1319     1327       +8     
+ Misses       1233     1225       -8
Impacted Files Coverage Δ
LibGAP.jl/src/conversion.jl 14.28% <0%> (+14.28%) ⬆️
LibGAP.jl/src/gap.jl 35.71% <0%> (+14.28%) ⬆️
LibGAP.jl/src/ccalls.jl 33.33% <0%> (+16.66%) ⬆️

@@ -0,0 +1,6 @@

@test LibGAP.CSTR_STRING(GAP.GAPFuncs.String(GAP.GAPFuncs.PROD(2^59,2^59))) == "332306998946228968225951765070086144"
Copy link
Contributor

Choose a reason for hiding this comment

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

Bikeshed time: I think we should put such a test in a different file, say basic.jl or convert.jl. runtests_includes.jl should then just include those files.

The double indirection as opposed to the standard Julia testing is because we autogenerate runtests.jl

Copy link
Member Author

Choose a reason for hiding this comment

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

I propose something else: let's put the autogenerated data into a seprate file, say gap_path.jl, which then is included by a static, non generated runtests.jl

@fingolfin fingolfin merged commit 7879c1c into oscar-system:master Nov 1, 2018
@fingolfin fingolfin deleted the mh/LibGAP.jl-tests branch November 1, 2018 15:07
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.

2 participants