summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-03-04 13:53:50 +0000
committerRichard Hughes <richard@hughsie.com>2015-03-04 13:53:52 +0000
commit6734dcf7a71e095eac7e9a4403b2ee5687eec72c (patch)
tree0ac6c6147398f79ccf8f0cfee2793f1ba2c62a78 /data
parent0472be058442848920fd6112b8ba681ec90c57f0 (diff)
downloadappstream-glib-6734dcf7a71e095eac7e9a4403b2ee5687eec72c.tar.gz
trivial: Fix 'make check'
The ctimes are stored in the .cab file, so we need to set these to something other than the git checkout date.
Diffstat (limited to 'data')
-rw-r--r--data/tests/Makefile.am9
1 files changed, 6 insertions, 3 deletions
diff --git a/data/tests/Makefile.am b/data/tests/Makefile.am
index 45e5e32..fb51e66 100644
--- a/data/tests/Makefile.am
+++ b/data/tests/Makefile.am
@@ -53,16 +53,19 @@ test_files = \
validate.xml.gz
colorhug-als-2.0.0.cab: $(srcdir)/firmware/2_0_0/firmware.*
- $(AM_V_GEN) gcab --create --nopath $@ \
+ $(AM_V_GEN) touch -c -m -d"2000-01-01" $?; \
+ $(GCAB) --create --nopath $@ \
$(srcdir)/firmware/2_0_0/firmware.bin \
$(srcdir)/firmware/2_0_0/firmware.inf
colorhug-als-2.0.1.cab: $(srcdir)/firmware/2_0_1/firmware.*
- $(AM_V_GEN) gcab --create --nopath $@ \
+ $(AM_V_GEN) touch -c -m -d"2000-01-01" $?; \
+ $(GCAB) --create --nopath $@ \
$(srcdir)/firmware/2_0_1/firmware.bin \
$(srcdir)/firmware/2_0_1/firmware.inf \
$(srcdir)/firmware/2_0_1/firmware.metainfo.xml
colorhug-als-2.0.2.cab: $(srcdir)/firmware/2_0_2/firmware.*
- $(AM_V_GEN) gcab --create --nopath $@ \
+ $(AM_V_GEN) touch -c -m -d"2000-01-01" $?; \
+ $(GCAB) --create --nopath $@ \
$(srcdir)/firmware/2_0_2/firmware.bin \
$(srcdir)/firmware/2_0_2/firmware.inf \
$(srcdir)/firmware/2_0_2/firmware.metainfo.xml