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

Replace GAP_ROOT_PATHS in tests with 'GAP_ROOT_PATH' #2898

Merged
merged 1 commit into from
Oct 29, 2018

Conversation

ChrisJefferson
Copy link
Contributor

As suggested in #2896.

I decided to use the string 'GAP_ROOT_PATH', rather than GAPROOT, because GAP actually outputs GAPROOT in some places and I thought it might be better if the replacement isn't something that GAP already outputs as standard (also it more tightly ties it to the GAP_ROOT_PATH variable. I put it in single quotes because otherwise you get GAP_ROOT_PATHlib/init.g, which looks bad, but I didn't really want to start stripping slashes (maybe I should)

@codecov
Copy link

codecov bot commented Oct 5, 2018

Codecov Report

Merging #2898 into master will decrease coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2898      +/-   ##
==========================================
- Coverage    83.8%   83.72%   -0.08%     
==========================================
  Files         681      680       -1     
  Lines      346416   346634     +218     
==========================================
- Hits       290303   290232      -71     
- Misses      56113    56402     +289
Impacted Files Coverage Δ
lib/test.gi 64.84% <100%> (-0.22%) ⬇️
lib/norad.gi 45.08% <0%> (-15.01%) ⬇️
lib/meataxe.gi 81.14% <0%> (-3.9%) ⬇️
lib/module.gi 69.48% <0%> (-2.26%) ⬇️
src/hpc/c_type1.c 83.12% <0%> (-2.23%) ⬇️
src/calls.h 95.74% <0%> (-2.2%) ⬇️
src/objects.c 80.53% <0%> (-1.71%) ⬇️
lib/autsr.gi 30.98% <0%> (-1.41%) ⬇️
src/c_type1.c 84.04% <0%> (-1.03%) ⬇️
... and 88 more

@ChrisJefferson ChrisJefferson added topic: kernel release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Oct 8, 2018
lib/test.gi Outdated Show resolved Hide resolved
@ChrisJefferson
Copy link
Contributor Author

Adjusted to print GAPROOT

@fingolfin fingolfin merged commit 24a8e36 into gap-system:master Oct 29, 2018
@ChrisJefferson ChrisJefferson deleted the gap_root_path_test branch January 20, 2019 13:38
@DominikBernhardt DominikBernhardt added release notes: added PRs introducing changes that have since been mentioned in the release notes release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes release notes: added PRs introducing changes that have since been mentioned in the release notes labels Aug 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: not needed PRs introducing changes that are wholly irrelevant to the release notes topic: kernel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants