gnu: ubridge: Update to 0.9.15.
[guix.git] / tests / gnu-maintenance.scm
blob4f2f1ae94394ad4af4b0db09436d8f8bcb738f78
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
3 ;;;
4 ;;; This file is part of GNU Guix.
5 ;;;
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
10 ;;;
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ;;; GNU General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
19 (define-module (test-gnu-maintenance)
20   #:use-module (guix gnu-maintenance)
21   #:use-module (srfi srfi-1)
22   #:use-module (srfi srfi-64))
24 (test-begin "gnu-maintenance")
26 (test-assert "release-file?"
27   (and (every (lambda (project+file)
28                 (apply release-file? project+file))
29               '(("gcc" "gcc-5.3.0.tar.bz2")
30                 ("texmacs" "TeXmacs-1.0.7.9-src.tar.gz")
31                 ("icecat" "icecat-38.4.0-gnu1.tar.bz2")
32                 ("mit-scheme" "mit-scheme-9.2.tar.gz")))
33        (every (lambda (project+file)
34                 (not (apply release-file? project+file)))
35               '(("guile" "guile-www-1.1.1.tar.gz")
36                 ("guile" "guile-2.0.11.tar.gz.sig")
37                 ("mit-scheme" "mit-scheme-9.2-i386.tar.gz")
38                 ("mit-scheme" "mit-scheme-9.2-doc-pdf.tar.gz")
39                 ("gnutls" "gnutls-3.2.18-w32.zip")))))
41 (test-end)