forked from microsoft/mssql-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sh
executable file
·114 lines (108 loc) · 2.31 KB
/
test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
# TODO:
#
# * m2m_through_regress
# * many_to_one_null
set -e
DJANGO_VERSION="$(python -m django --version)"
cd django
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
git checkout $DJANGO_VERSION
pip install -r tests/requirements/py3.txt
coverage run tests/runtests.py --settings=testapp.settings --noinput \
aggregation \
aggregation_regress \
annotations \
backends \
basic \
bulk_create \
constraints \
custom_columns \
custom_lookups \
custom_managers \
custom_methods \
custom_migration_operations \
custom_pk \
datatypes \
dates \
datetimes \
db_functions \
db_typecasts \
db_utils \
dbshell \
defer \
defer_regress \
delete \
delete_regress \
distinct_on_fields \
empty \
expressions \
expressions_case \
expressions_window \
extra_regress \
field_deconstruction \
field_defaults \
field_subclassing \
filtered_relation \
fixtures \
fixtures_model_package \
fixtures_regress \
force_insert_update \
foreign_object \
from_db_value \
generic_relations \
generic_relations_regress \
get_earliest_or_latest \
get_object_or_404 \
get_or_create \
indexes \
inspectdb \
introspection \
invalid_models_tests \
known_related_objects \
lookup \
m2m_and_m2o \
m2m_intermediary \
m2m_multiple \
m2m_recursive \
m2m_regress \
m2m_signals \
m2m_through \
m2o_recursive \
managers_regress \
many_to_many \
many_to_one \
max_lengths \
migrate_signals \
migration_test_data_persistence \
migrations \
migrations2 \
model_fields \
model_indexes \
model_options \
mutually_referential \
nested_foreign_keys \
null_fk \
null_fk_ordering \
null_queries \
one_to_one \
or_lookups \
order_with_respect_to \
ordering \
pagination \
prefetch_related \
queries \
queryset_pickle \
raw_query \
reverse_lookup \
save_delete_hooks \
schema \
select_for_update \
select_related \
select_related_onetoone \
select_related_regress \
serializers \
transaction_hooks \
transactions \
update \
update_only_fields
python -m coverage xml --include '*mssql*' --omit '*virtualenvs*' -o coverage.xml