Skip to content

Commit

Permalink
d/test.sh, d/tests: Unset SOURCE_DATE_EPOCH
Browse files Browse the repository at this point in the history
Otherwise, some tests will think we're downgrading, and fail.
  • Loading branch information
smcv committed Jul 25, 2021
1 parent 2da0bfe commit d18bfcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions debian/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ unset http_proxy
unset https_proxy
unset no_proxy

# Some tests assume this isn't set
unset SOURCE_DATE_EPOCH

failed=0
# Use line-buffering so stdout and stderr interleave somewhat nicely
stdbuf -oL make check || failed=1
Expand Down
3 changes: 3 additions & 0 deletions debian/tests/gnome-desktop-testing
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ unset http_proxy
unset https_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
t="${t%% *}"
Expand Down

0 comments on commit d18bfcc

Please sign in to comment.