~ruther/guix-local

ref: b4e0bcce1b9a4a23e7df147066e4261ecb30fef8 guix-local/gnu/packages/patches/libgit2-mtime-0.patch -rw-r--r-- 440 bytes
b4e0bcce — Hartmut Goebel gnu: Add trytond-document-incoming-ocr-typless. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
The Clar test framework has a bug whereby it skips the parsing phase
on files with mtime=0.

Reported upstream at <https://github.com/vmg/clar/pull/78>.

diff --git a/tests/generate.py b/tests/generate.py
index b639c8f..111ca41 100644
--- a/tests/generate.py
+++ b/tests/generate.py
@@ -63,3 +63,3 @@ class Module(object):
 
-        self.mtime = 0
+        self.mtime = None # Guix sets all file mtimes to '0'
         self.enabled = True