gnu-maintenance.scm 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2015, 2021 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. ("mediainfo" "mediainfo_20.09.tar.xz")))
  31. (every (lambda (project+file)
  32. (not (apply release-file? project+file)))
  33. '(("guile" "guile-www-1.1.1.tar.gz")
  34. ("guile" "guile-2.0.11.tar.gz.sig")
  35. ("mit-scheme" "mit-scheme-9.2-i386.tar.gz")
  36. ("mit-scheme" "mit-scheme-9.2-doc-pdf.tar.gz")
  37. ("gnutls" "gnutls-3.2.18-w32.zip")))))
  38. (test-end)