This means that the dgit- and gdr-generated commits with dates from
changelogs are all adjusted. This makes the gitk in the gdr tests
look more like a real one would, so we can see if it's pretty. (It
also makes it easier to debug the tests.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Tests: gdr-edits gdr-import-dgit
Tests-Directory: tests/tests
Tests: gdr-edits gdr-import-dgit
Tests-Directory: tests/tests
-Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, git-buildpackage, libfile-fnmatch-perl
+Depends: dgit, dgit-infrastructure, devscripts, debhelper (>=8), fakeroot, build-essential, chiark-utils-bin, git-buildpackage, libfile-fnmatch-perl, faketime
Tests: gitattributes
Tests-Directory: tests/tests
Tests: gitattributes
Tests-Directory: tests/tests
+ faketime @"${GIT_AUTHOR_DATE% *}" dch "$@"
git commit -m "dch $*" debian/changelog
}
git commit -m "dch $*" debian/changelog
}
. tests/lib
. $troot/lib-gdr
. tests/lib
. $troot/lib-gdr
-t-dependencies git-buildpackage libfile-fnmatch-perl
+t-dependencies git-buildpackage libfile-fnmatch-perl faketime
-t-dependencies git-buildpackage libfile-fnmatch-perl
+t-dependencies git-buildpackage libfile-fnmatch-perl faketime
t-setup-import gdr-convert-gbp
t-setup-import gdr-convert-gbp
-t-dependencies git-buildpackage libfile-fnmatch-perl
+t-dependencies git-buildpackage libfile-fnmatch-perl faketime
t-setup-import gdr-convert-gbp
t-setup-import gdr-convert-gbp