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

lib: Consolidate tests into one meta job #25196

Merged
merged 1 commit into from May 17, 2017

Conversation

Ericson2314
Copy link
Member

Motivation for this change

@edolstra is this what you want?

Things done

@mention-bot
Copy link

@Ericson2314, thanks for your PR! By analyzing the history of the files in this pull request, we identified @nbp, @Profpatsch and @MarcWeber to be potential reviewers.

@matthewbauer
Copy link
Member

Make sure you rename it in make-tarball.nix too:

res="$(nix-instantiate --eval --strict --show-trace lib/tests.nix)"

@Ericson2314
Copy link
Member Author

Oh heh I didn't even see that. Maybe I'll just make the lib tests a sub job instead.

@edolstra
Copy link
Member

Looks good to me, thanks!

, # Strip most of attributes when evaluating to spare memory usage
scrubJobs ? true
}:
{ pkgs ? import ((import ../../lib).cleanSource ../..) {} }:
Copy link
Member

Choose a reason for hiding this comment

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

You will have to update the list of attribute given when this expression is imported in pkgs/top-level/release.nix to make this evaluate correctly.

@Ericson2314
Copy link
Member Author

Ericson2314 commented May 17, 2017

  • Mac tests not started, but linux passed, and no platform-specific code here
  • Fixed issues, thanks @matthewbauer and @nbp

@Ericson2314 Ericson2314 merged commit f3c989b into NixOS:master May 17, 2017
@Ericson2314 Ericson2314 deleted the recursive-platform-tests branch May 17, 2017 15:32
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.

None yet

5 participants