~afrantzis/pbuilderjenkins/mir-enable-testing-temp

« back to all changes in this revision

Viewing changes to hooks/H15enable_testing.in

  • Committer: Tarmac
  • Author(s): Alexandros Frantzis
  • Date: 2014-02-12 20:07:51 UTC
  • mfrom: (126.1.2 pbuilderjenkins)
  • Revision ID: tarmac-20140212200751-55g7vofmdrlttxym
hooks: Update Mir testing configuration flags

The MIR_DISABLE_INPUT flag has been removed. Also, since memcheck is currently
broken on armhf, enable it only for non-armhf builds.
.

Approved by Francis Ginther, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
{add_cmake_dh_auto_configure_option}
5
5
 
 
6
ARCH=`dpkg --print-architecture`
 
7
 
6
8
#this is compiz specific
7
9
if grep '^Source: compiz' debian/control > /dev/null; then
8
10
    add_cmake_dh_auto_configure_option "-DCOMPIZ_BUILD_TESTING=ON"
9
11
#this is mir specific
10
12
elif grep '^Source: mir' debian/control > /dev/null; then
11
 
    add_cmake_dh_auto_configure_option "-DENABLE_MEMCHECK_OPTION=ON"
12
 
    add_cmake_dh_auto_configure_option "-DMIR_DISABLE_INPUT=OFF"
 
13
    if [ $ARCH != 'armhf' ]; then
 
14
        add_cmake_dh_auto_configure_option "-DENABLE_MEMCHECK_OPTION=ON"
 
15
    fi
13
16
fi