From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Re: About define a service? Date: Tue, 22 Jan 2019 07:14:58 +0000 Message-ID: <87h8e1i2od.fsf@cbaines.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glqH4-0006T7-Ga for help-guix@gnu.org; Tue, 22 Jan 2019 02:15:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glqH3-0001sz-GS for help-guix@gnu.org; Tue, 22 Jan 2019 02:15:06 -0500 Received: from mira.cbaines.net ([2a01:7e00::f03c:91ff:fe69:8da9]:35254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glqH2-0001rn-0o for help-guix@gnu.org; Tue, 22 Jan 2019 02:15:04 -0500 In-reply-to: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Guy fleury Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Guy fleury 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. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlxGwvJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XeXMg/+POnefyYBBLFwfz5KH4s0gL5P2n2UQuviy8ydvqFIt4qAGDQ4Gxy64N2N sOW/8ntPaBAUdVm6LZHoGFCgaBtn1e0bpf4MGIK/0YOC4gvyokBlV2+dORNn2Zv9 k2/DzsVC4tQ0AptIuaXAx2bVQx8WWTZstIcYNUbohKInpPRaENiuPz/2xS884eNd duWsbXleSI6lj3d+Zezo9ks1vM9W892blbWNTdf4z1hNPqqZe6jDjFEmKxP5pxRO f7K7Eyr5MJB280li2SQIfPdboXNNtMyQUVLqQnfcR85eKYr+A5/jTqUr8Zlm0FTY HsfH8DxTM+qfMOYkeGIOuB7Z8AbMdvg7GSvB78QCqxPlnd4PXvJpQfgRB6JGO9N4 UIHhWS1bexabvbDAkAg2LdPQh/vgBAt4paD8qu10uUWOfVR71AHIYo/0Uicsni8q bgSDpNt5Jlxs6/yMB555iz5R2Ke+HAJSYe/SyaAD4ZnGKlx54uQddRBq5yH0nIoJ hpZgLy0AuSuWPjLxSMFbkyzSBHD/wZu20/yDW5f3KVNYsxifDPKu1rMP39DODXEm z8efke2uZj83bjTtfO3OBOYgea/AfZLSughSE5ms5CE3lMedP5Ntkv4D6fLrn63R LI69RGIJl3zYMHtkddTeAiogtfGp5uev3RQbU6i9yze6BIDv4Tk= =cs1V -----END PGP SIGNATURE----- --=-=-=--