summaryrefslogtreecommitdiffstats
path: root/scripts/t/mk/pkg-info.mk
blob: 6863ebb809b43b7901b7aecf8f8a5ba69159f069 (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
27
28
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_DEB_TIMESTAMP = 1438697630

test_vars := \
  DEB_SOURCE \
  DEB_VERSION \
  DEB_VERSION_EPOCH_UPSTREAM \
  DEB_VERSION_UPSTREAM_REVISION \
  DEB_VERSION_UPSTREAM \
  DEB_DISTRIBUTION \
  DEB_TIMESTAMP \
  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_$@)'