;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2016, 2017 Ludovic Courtès ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (test-modules) #:use-module (guix modules) #:use-module ((guix build-system gnu) #:select (%gnu-build-system-modules)) #:use-module ((guix utils) #:select (call-with-temporary-directory)) #:use-module (srfi srfi-1) #:use-module (srfi srfi-34) #:use-module (srfi srfi-64)) (test-begin "modules") (test-assert "closure of (guix build gnu-build-system)" (lset= equal? (live-module-closure '((guix build gnu-build-system))) (source-module-closure '((guix build gnu-build-system))) %gnu-build-system-modules (source-module-closure %gnu-build-system-modules) (live-module-closure %gnu-build-system-modules))) (test-assert "closure of (gnu build install)" (lset= equal? (live-module-closure '((gnu build install))) (source-module-closure '((gnu build install))))) (test-assert "closure of (gnu build image)" (lset= equal? (live-module-closure '((gnu build image))) (source-module-closure '((gnu build image))))) (test-equal "&missing-dependency-error" '(something that does not exist) (call-with-temporary-directory (lambda (directory) (call-with-output-file (string-append directory "/foobar.scm") (lambda (port) (write '(define-module (foobar) #:use-module (something that does not exist)) port))) (call-with-output-file (string-append directory "/baz.scm") (lambda (port) (write '(define-module (baz) #:use-module (foobar)) port))) (guard (c ((missing-dependency-error? c) (missing-dependency-module c))) (source-module-closure '((baz)) (list directory) #:select? (const #t)))))) (test-end) telephony.scm?id=c4618ca13f1cefeb1dbfe619ca09f32925b84732&showmsg=1'>Expand)Author 2022-09-26tests: telephony: Add missing import to fix jami tests....Maxim Cournoyer 2022-09-24Revert "tests: telephony: Add extra packages to %jami-os for debugging."...Maxim Cournoyer 2022-09-23tests: jami-provisioning: Fix test derivation name....Maxim Cournoyer 2022-09-23tests: telephony: Add extra packages to %jami-os for debugging....Maxim Cournoyer 2022-08-01gnu: telephony: Add a Jami test for a partially defined jami-account....Maxim Cournoyer 2022-06-10services: jami: Modernize to adjust to Shepherd 0.9+ changes....Maxim Cournoyer 2022-01-13services: Adjust the jami service for the upgraded jami....Maxim Cournoyer 2021-09-26tests: Reduce boilerplate for users of 'system-test-runner'....Ludovic Courtès 2021-09-25tests: Adjust to SRFI-64 as found in Guile 3.0.7....Ludovic Courtès 2021-08-29Migrate to the new 'targets' field of bootloader-configuration....Maxim Cournoyer 2021-08-02Reinstate "services: Add a service for Jami."...Maxim Cournoyer 2021-08-02Revert "services: Add a service for Jami."...Maxim Cournoyer 2021-08-02services: Add a service for Jami....Maxim Cournoyer