~ubuntu-branches/ubuntu/vivid/dpkg/vivid

« back to all changes in this revision

Viewing changes to Makecheck.am

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2014-04-21 18:14:10 UTC
  • mfrom: (1.6.8 sid)
  • Revision ID: package-import@ubuntu.com-20140421181410-94kvb2zodjd2og32
Tags: 1.17.7ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Allow -fstack-protector on arm64 now that GCC and glibc support it.
  - Change native source version/format mismatch errors into warnings
    until the dust settles on Debian bug 737634 about override options.
  - Add DPKG_UNTRANSLATED_MESSAGES environment check so that higher-level
    tools can get untranslated dpkg terminal log messages while at the
    same time having translated debconf prompts.
  - Special-case arm{el,hf} ELF objects in Shlibs/Objdump.pm for multilib.
  - Map unqualified package names of multiarch-same packages to the native
    arch instead of throwing an error, so that we don't break on upgrade
    when there are unqualified names stored in the dpkg trigger database.
  - Add logic to the postinst to `dpkg --add-architecture i386' on new
    installs on amd64, mimicking our previous behaviour with the conffile.
  - Apply a workaround from mvo to consider RC packages as multiarch,
    during the dpkg consistency checks. (see LP: 1015567 and 1057367).
* Drop obsolete migration code and guards from pre-trusty dpkg versions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Variables to be defined:
2
 
#
3
 
#  TEST_VERBOSE - set to 0 (default) or 1 to control test suite verbosity
4
 
#  TEST_ENV_VARS - environment variables to be set for the test suite
5
 
#  TEST_COVERAGE - set to the perl module in charge of getting test coverage
6
 
#  test_tmpdir - test suite temporary directory
7
 
#  test_cases - list of test case files
8
 
#  test_data - list of test data files
9
 
 
10
 
TEST_VERBOSE ?= 0
11
 
 
12
 
check-clean:
13
 
        [ -z "$(test_tmpdir)" ] || rm -fr $(test_tmpdir)
14
 
 
15
 
check-local: $(test_data) $(test_cases)
16
 
        [ -z "$(test_tmpdir)" ] || $(MKDIR_P) $(test_tmpdir)
17
 
        PATH="$(top_builddir)/src:$(top_builddir)/scripts:$(top_builddir)/utils:$(PATH)" \
18
 
          LC_ALL=C \
19
 
          $(TEST_ENV_VARS) \
20
 
          srcdir=$(srcdir) builddir=$(builddir) \
21
 
          PERL5LIB=$(top_srcdir)/scripts PERL_DL_NONLAZY=1 \
22
 
          PERL5OPT=$(TEST_COVERAGE) \
23
 
          $(PERL) -I$(top_srcdir)/scripts \
24
 
            -MExtUtils::Command::MM -e "test_harness($(TEST_VERBOSE), '.')" \
25
 
            $(addprefix $(srcdir)/,$(test_cases))