[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/11: tests: Use 'dummy-origin' for lint tests when possible.
From: |
Mathieu Lirzin |
Subject: |
01/11: tests: Use 'dummy-origin' for lint tests when possible. |
Date: |
Thu, 28 Jan 2016 15:32:41 +0000 |
mthl pushed a commit to branch master
in repository guix.
commit 052d53df1f9a34fea43a29618b0bf165255bdadf
Author: Mathieu Lirzin <address@hidden>
Date: Sun Jan 24 16:28:51 2016 +0100
tests: Use 'dummy-origin' for lint tests when possible.
* guix/tests/lint.scm ("patches: file names", "patches: not found"): Use
'dummy-origin'. 'sha256' field was wrongly set to a string instead of a
bytevector.
---
tests/lint.scm | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/tests/lint.scm b/tests/lint.scm
index b8dad13..54be50d 100644
--- a/tests/lint.scm
+++ b/tests/lint.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2012, 2013 Cyril Roelandt <address@hidden>
;;; Copyright © 2014, 2015 Eric Bavier <address@hidden>
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <address@hidden>
-;;; Copyright © 2015 Mathieu Lirzin <address@hidden>
+;;; Copyright © 2015, 2016 Mathieu Lirzin <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -308,10 +308,7 @@ requests."
(with-warnings
(let ((pkg (dummy-package "x"
(source
- (origin
- (method url-fetch)
- (uri "someurl")
- (sha256 "somesha")
+ (dummy-origin
(patches (list "/path/to/y.patch")))))))
(check-patch-file-names pkg)))
"file names of patches should start with the package name")))
@@ -322,10 +319,7 @@ requests."
(with-warnings
(let ((pkg (dummy-package "x"
(source
- (origin
- (method url-fetch)
- (uri "someurl")
- (sha256 "somesha")
+ (dummy-origin
(patches
(list (search-patch
"this-patch-does-not-exist!"))))))))
(check-patch-file-names pkg)))
- branch master updated (03675ca -> 8a76e5f), Mathieu Lirzin, 2016/01/28
- 01/11: tests: Use 'dummy-origin' for lint tests when possible.,
Mathieu Lirzin <=
- 02/11: lint: Remove an unneeded clause in 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28
- 06/11: build: Add 'DOT' silent rule., Mathieu Lirzin, 2016/01/28
- 08/11: build: Add 'HELP2MAN' silent rule., Mathieu Lirzin, 2016/01/28
- 07/11: build: Add 'EMACS' silent rule., Mathieu Lirzin, 2016/01/28
- 05/11: build: Add 'DL' silent rule., Mathieu Lirzin, 2016/01/28
- 11/11: Update .gitignore., Mathieu Lirzin, 2016/01/28
- 04/11: packages: Use '@' in package record printers., Mathieu Lirzin, 2016/01/28
- 10/11: build: Use 'GEN' and 'at' silent rules., Mathieu Lirzin, 2016/01/28
- 09/11: build: Remove guix-autoloads.el from the distribution., Mathieu Lirzin, 2016/01/28
- 03/11: lint: Rewrite 'check-patch-file-names'., Mathieu Lirzin, 2016/01/28