blob: 6eb37866d2e46d9e4627b225693879e46fa40f99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
include $(srcdir)/mk/pkg-info.mk
TEST_DEB_SOURCE = source
TEST_DEB_VERSION = 1:2:3.4-5-6
TEST_DEB_VERSION_EPOCH_UPSTREAM = 1:2:3.4-5
TEST_DEB_VERSION_UPSTREAM_REVISION = 2:3.4-5-6
TEST_DEB_VERSION_UPSTREAM = 2:3.4-5
TEST_DEB_DISTRIBUTION = suite
test_vars := \
DEB_SOURCE \
DEB_VERSION \
DEB_VERSION_EPOCH_UPSTREAM \
DEB_VERSION_UPSTREAM_REVISION \
DEB_VERSION_UPSTREAM \
DEB_DISTRIBUTION \
SOURCE_DATE_EPOCH \
# EOL
test: $(test_vars)
: # Test the SOURCE_DATE_EPOCH exported variable.
test "$${SOURCE_DATE_EPOCH}" = '$(TEST_SOURCE_DATE_EPOCH)'
$(test_vars):
: # Test the $@ Make variable.
test '$($@)' = '$(TEST_$@)'
|