#!/bin/sh
set -e
cd $AUTOPKGTEST_TMP

if dpkg-architecture --is i386
then
    pytest-3 --pyargs gammapy -k 'not test_parameter_name and not test_wcsmap_upsample_downsample_wcs and not test_piecewise_spatial_model'
elif dpkg-architecture --is s390x
then
    pytest-3 --pyargs gammapy -k 'not test_parameter_name and not test_obscore_structure and not test_parameters_create_table'
else
    pytest-3 --pyargs gammapy -k 'not test_parameter_name'
fi
