#!/usr/bin/make -f

export PYBUILD_NAME=aws-xray-sdk

export PYBUILD_TEST_ARGS=--ignore tests/ext/aiobotocore/test_aiobotocore.py \
                         --ignore tests/ext/aiohttp/test_aiohttp.py \
                         --ignore tests/ext/aiohttp/test_client.py \
                         --ignore tests/ext/aiohttp/test_middleware.py \
                         --ignore tests/ext/botocore/test_botocore.py \
                         --ignore tests/ext/django/test_db.py \
                         --ignore tests/ext/django/test_middleware.py \
                         --ignore tests/ext/django/test_settings.py \
                         --ignore tests/ext/flask_sqlalchemy/test_query.py \
                         --ignore tests/ext/pg8000/test_pg8000.py \
                         --ignore tests/ext/psycopg/test_psycopg.py \
                         --ignore tests/ext/psycopg2/test_psycopg2.py \
                         --ignore tests/ext/pymysql/test_pymysql.py \
                         --ignore tests/ext/pynamodb/test_pynamodb.py \
                         --ignore tests/ext/requests/test_requests.py \
                         --ignore tests/ext/sqlalchemy_core/test_postgres.py \
                         --ignore tests/ext/sqlalchemy/test_query.py \
                         --ignore tests/test_async_local_storage.py \
                         --ignore tests/test_async_recorder.py \
                         --ignore tests/test_local_sampling_benchmark.py \
                         -k 'not test_ok \
                         and not test_error \
                         and not test_throttle \
                         and not test_fault \
                         and not test_invalid_rul \
                         and not test_correct_identify_http \
                         and not test_nonexistent_domain \
                         and not test_strip_http_url \
                         and not test_name_uses_hostname \
                         and not test_ignore_url \
                         and not test_ignore_hostname \
                         and not test_ignore_subclass \
                         and not test_ignore_multiple_match \
                         and not test_ignore_multiple_no_match \
                         and not test_db_url_with_special_char \
                         and not test_facade_segment_generation \
                         and not test_put_subsegment \
                         and not test_disable \
                         '

%:
	dh $@ --buildsystem=pybuild
