d/test.sh, d/tests: Unset SOURCE_DATE_EPOCH

Otherwise, some tests will think we're downgrading, and fail.
This commit is contained in:
Simon McVittie 2021-07-25 19:18:46 +01:00
parent 2da0bfe71e
commit d18bfcc689
2 changed files with 6 additions and 0 deletions

3
debian/test.sh vendored
View File

@ -13,6 +13,9 @@ unset http_proxy
unset https_proxy unset https_proxy
unset no_proxy unset no_proxy
# Some tests assume this isn't set
unset SOURCE_DATE_EPOCH
failed=0 failed=0
# Use line-buffering so stdout and stderr interleave somewhat nicely # Use line-buffering so stdout and stderr interleave somewhat nicely
stdbuf -oL make check || failed=1 stdbuf -oL make check || failed=1

View File

@ -11,6 +11,9 @@ unset http_proxy
unset https_proxy unset https_proxy
unset no_proxy unset no_proxy
# Some tests assume this isn't set
unset SOURCE_DATE_EPOCH
tests="$(gnome-desktop-testing-runner -l libostree | while read -r t; do tests="$(gnome-desktop-testing-runner -l libostree | while read -r t; do
t="${t%% *}" t="${t%% *}"