gnu-maintenance.scm 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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/>.
  18. (define-module (test-gnu-maintenance)
  19. #:use-module (guix gnu-maintenance)
  20. #:use-module (srfi srfi-1)
  21. #:use-module (srfi srfi-64))
  22. (test-begin "gnu-maintenance")
  23. (test-assert "release-file?"
  24. (and (every (lambda (project+file)
  25. (apply release-file? project+file))
  26. '(("gcc" "gcc-5.3.0.tar.bz2")
  27. ("texmacs" "TeXmacs-1.0.7.9-src.tar.gz")
  28. ("icecat" "icecat-38.4.0-gnu1.tar.bz2")
  29. ("mit-scheme" "mit-scheme-9.2.tar.gz")))
  30. (every (lambda (project+file)
  31. (not (apply release-file? project+file)))
  32. '(("guile" "guile-www-1.1.1.tar.gz")
  33. ("guile" "guile-2.0.11.tar.gz.sig")
  34. ("mit-scheme" "mit-scheme-9.2-i386.tar.gz")
  35. ("mit-scheme" "mit-scheme-9.2-doc-pdf.tar.gz")
  36. ("gnutls" "gnutls-3.2.18-w32.zip")))))
  37. (test-end)