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

[Feature requests] nixos tests #2

Closed
Mic92 opened this issue Nov 14, 2017 · 6 comments
Closed

[Feature requests] nixos tests #2

Mic92 opened this issue Nov 14, 2017 · 6 comments

Comments

@Mic92
Copy link
Member

Mic92 commented Nov 14, 2017

if there are no tests for a given package, I have to build the package myself anyway to test functionality.
A green nixos test is more actionable.

@grahamc
Copy link
Member

grahamc commented Nov 20, 2017

Is this asking for a thing like @grahamcofborg test <testname>? or something else?

@Mic92
Copy link
Member Author

Mic92 commented Nov 20, 2017

When I call @grahamcofborg test ferm,
borg could do the following:

$ nix-build ./nixos/release.nix -A tests.ferm

A time limit would be recommend, because some broken tests tend to loop infinite.

@grahamc
Copy link
Member

grahamc commented Nov 23, 2017

Don't the tests already have a maximum run time of 15min? or some timeout like that?

@Mic92
Copy link
Member Author

Mic92 commented Nov 24, 2017

I am not aware of a time limit.

@domenkozar
Copy link
Member

domenkozar commented Nov 24, 2017

--option build-timeout 12345

@grahamc
Copy link
Member

grahamc commented Nov 24, 2017

@grahamc grahamc closed this as completed Nov 24, 2017
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

No branches or pull requests

3 participants