;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2019 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-scripts) #:use-module (guix scripts) #:use-module (guix tests) #:use-module ((guix scripts build) #:select (%standard-build-options)) #:use-module (srfi srfi-64)) ;; Test the (guix scripts) module. (test-begin "scripts") (test-equal "parse-command-line" '((argument . "bar") (argument . "foo") (cores . 10) ;takes precedence (substitutes? . #f) (keep-failed? . #t) (max-jobs . 77) (cores . 42)) (with-environment-variable "GUIX_BUILD_OPTIONS" "-c 42 -M 77" (parse-command-line '("--keep-failed" "--no-substitutes" "--cores=10" "foo" "bar") %standard-build-options (list '())))) (test-equal "parse-command-line and --no options" '((argument . "foo") (substitutes? . #f)) ;takes precedence (with-environment-variable "GUIX_BUILD_OPTIONS" "--no-substitutes" (parse-command-line '("foo") %standard-build-options (list '((substitutes? . #t)))))) (test-end "scripts") ;;; Local Variables: ;;; eval: (put 'with-environment-variable 'scheme-indent-function 2) ;;; End:
AgeCommit message (Expand)Author
2017-07-03gnu: wine: Add stable release....* gnu/packages/wine.scm (wine): Refer to stable release instead of development one. (wine-next): New variable. Nicolas Goaziou
2017-06-26gnu: wine: Update to 2.11....* gnu/packages/wine.scm (wine): Update to 2.11 Signed-off-by: Leo Famulari <leo@famulari.name> Rutger Helling
2017-06-20gnu: wine64: Remove redundant description....* gnu/packages/wine.scm (wine64)[description]: Remove. Ludovic Courtès
2017-06-20gnu: Add wine64....* gnu/packages/wine.scm (wine64): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Rutger Helling
2017-06-10gnu: wine: Update to 2.10....* gnu/packages/wine.scm (wine): Update to 2.10. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Rutger Helling
2017-06-03gnu: wine: Update to 2.9...* gnu/packages/wine.scm (wine): Update to 2.9 Signed-off-by: Leo Famulari <leo@famulari.name> Rutger Helling
2017-03-22gnu: wine: Build with flex-2.6.1....* gnu/packages/wine.scm (wine)[native-inputs]: Use flex-2.6.1 and not flex. Efraim Flashner
2017-03-18gnu: wine: Update to 2.4....* gnu/packages/wine.scm (wine): Update to 2.4. Danny Milosavljevic
2017-03-12gnu: wine: Update to 2.3....* gnu/packages/wine.scm (wine): Update to 2.3. Danny Milosavljevic
2017-02-28gnu: wine: Add 'pulseaudio' to 'inputs'....* gnu/packages/wine.scm (wine)[inputs]: Add pulseaudio. Signed-off-by: Kei Kebreau <kei@openmailbox.org> Carlo Zancanaro
2017-01-26gnu: wine: Update to 2.0....* gnu/packages/wine.scm (wine): Update to 2.0. Tobias Geerinckx-Rice