summaryrefslogtreecommitdiffstats
path: root/tests/Feature.mk
blob: da4e8d659235e2c27e56a9e0dee5a0d803918c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Dpkg functional testsuite (kind of)
#
# Copyright © 2015 Guillem Jover <guillem@debian.org>
#

## Feature checks setup ##

ifneq ($(DPKG_FEATURE_CHECKS),yes)
export DPKG_FEATURE_CHECKS := yes

# XXX: once apt is fixed:
#export DPKG_HAS_CONFIGURE_WITH_IMPLICIT_TRIGGER_PENDING ?= 1

ifneq (,$(filter as-root,$(DPKG_TESTSUITE_OPTIONS)))
export DPKG_AS_ROOT = 1
endif

endif