* About define a service? @ 2019-01-22 4:47 Guy fleury 2019-01-22 7:14 ` Christopher Baines 0 siblings, 1 reply; 3+ messages in thread From: Guy fleury @ 2019-01-22 4:47 UTC (permalink / raw) To: help-guix [-- Attachment #1: Type: text/plain, Size: 156 bytes --] Hi guix, Is there a way to define a service in a guix repo and test it to make sure that every thing is ok. Something like: ./pre-inst-env herd start foo [-- Attachment #2: Type: text/html, Size: 214 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About define a service? 2019-01-22 4:47 About define a service? Guy fleury @ 2019-01-22 7:14 ` Christopher Baines 2019-01-22 13:01 ` Guy fleury 0 siblings, 1 reply; 3+ messages in thread From: Christopher Baines @ 2019-01-22 7:14 UTC (permalink / raw) To: Guy fleury; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 425 bytes --] Guy fleury <hoonandon@gmail.com> writes: > Hi guix, > > Is there a way to define a service in a guix repo and test it to make sure > that every thing is ok. > Something like: > > ./pre-inst-env herd start foo I think the closest thing to this would be a system test, for example: make check-system TESTS=postgresql That runs the PostgreSQL system test, defined by %test-postgresql in the (gnu tests databases) module. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 962 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About define a service? 2019-01-22 7:14 ` Christopher Baines @ 2019-01-22 13:01 ` Guy fleury 0 siblings, 0 replies; 3+ messages in thread From: Guy fleury @ 2019-01-22 13:01 UTC (permalink / raw) To: Christopher Baines; +Cc: help-guix [-- Attachment #1: Type: text/plain, Size: 578 bytes --] Thanks for your reply Le 22 janv. 2019 09:15, "Christopher Baines" <mail@cbaines.net> a écrit : > > Guy fleury <hoonandon@gmail.com> writes: > > > Hi guix, > > > > Is there a way to define a service in a guix repo and test it to make > sure > > that every thing is ok. > > Something like: > > > > ./pre-inst-env herd start foo > > I think the closest thing to this would be a system test, for example: > > make check-system TESTS=postgresql > > That runs the PostgreSQL system test, defined by %test-postgresql in the > (gnu tests databases) module. > [-- Attachment #2: Type: text/html, Size: 919 bytes --] ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-01-22 20:17 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-01-22 4:47 About define a service? Guy fleury 2019-01-22 7:14 ` Christopher Baines 2019-01-22 13:01 ` Guy fleury
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.