|
4 | 4 | from string import printable
|
5 | 5 | from copy import deepcopy
|
6 | 6 | from mock import MagicMock, patch
|
7 |
| -from hypothesis import given, settings |
| 7 | +from hypothesis import given, settings, HealthCheck |
8 | 8 | from hypothesis.strategies import text, lists, fixed_dictionaries, booleans
|
9 | 9 |
|
10 | 10 | ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "..", "..",
|
@@ -112,6 +112,7 @@ def test_gcc_version_check(_run_cmd):
|
112 | 112 | 'asm': lists(text()),
|
113 | 113 | 'ld': lists(text())}),
|
114 | 114 | lists(text(min_size=1, alphabet=ALPHABET), min_size=1))
|
| 115 | +@settings(suppress_health_check=[HealthCheck.too_slow]) |
115 | 116 | def test_toolchain_profile_c(profile, source_file):
|
116 | 117 | """Test that the appropriate profile parameters are passed to the
|
117 | 118 | C compiler"""
|
@@ -144,6 +145,7 @@ def test_toolchain_profile_c(profile, source_file):
|
144 | 145 | 'asm': lists(text()),
|
145 | 146 | 'ld': lists(text())}),
|
146 | 147 | lists(text(min_size=1, alphabet=ALPHABET), min_size=1))
|
| 148 | +@settings(suppress_health_check=[HealthCheck.too_slow]) |
147 | 149 | def test_toolchain_profile_cpp(profile, source_file):
|
148 | 150 | """Test that the appropriate profile parameters are passed to the
|
149 | 151 | C++ compiler"""
|
@@ -175,6 +177,7 @@ def test_toolchain_profile_cpp(profile, source_file):
|
175 | 177 | 'asm': lists(text()),
|
176 | 178 | 'ld': lists(text())}),
|
177 | 179 | lists(text(min_size=1, alphabet=ALPHABET), min_size=1))
|
| 180 | +@settings(suppress_health_check=[HealthCheck.too_slow]) |
178 | 181 | def test_toolchain_profile_asm(profile, source_file):
|
179 | 182 | """Test that the appropriate profile parameters are passed to the
|
180 | 183 | Assembler"""
|
@@ -213,6 +216,7 @@ def test_toolchain_profile_asm(profile, source_file):
|
213 | 216 | 'asm': lists(text()),
|
214 | 217 | 'ld': lists(text(min_size=1))}),
|
215 | 218 | lists(text(min_size=1, alphabet=ALPHABET), min_size=1))
|
| 219 | +@settings(suppress_health_check=[HealthCheck.too_slow]) |
216 | 220 | def test_toolchain_profile_ld(profile, source_file):
|
217 | 221 | """Test that the appropriate profile parameters are passed to the
|
218 | 222 | Linker"""
|
|
0 commit comments