@@ -130,11 +130,15 @@ def _get_example_runs(test_dir: str) -> List[Tuple[str, str, Optional[List[str]]
130130 for root , _ , files in os .walk (test_dir ):
131131 for file in files :
132132 file_name = os .path .join (root , file )
133- if file_name .endswith ("buildrunner.yaml" ) and not [
134- excluded
133+ if not file_name .endswith (
134+ "examples/build/secrets/platforms-buildrunner.yaml"
135+ ):
136+ continue
137+ if file_name .endswith ("buildrunner.yaml" ) and not any (
138+ True
135139 for excluded in excluded_example_files
136140 if file_name .endswith (excluded )
137- ] :
141+ ) :
138142 file_names .append (file_name )
139143
140144 return [
@@ -187,7 +191,7 @@ def fixture_set_env():
187191 "test_dir, file_name, args, exit_code" ,
188192 _get_test_runs (test_dir = f"{ TEST_DIR } /test-files" , serial_tests = False ),
189193)
190- def test_buildrunner_dir (test_dir : str , file_name , args , exit_code ):
194+ def xtest_buildrunner_dir (test_dir : str , file_name , args , exit_code ):
191195 _test_buildrunner_file (test_dir , file_name , args , exit_code )
192196
193197
@@ -196,7 +200,7 @@ def test_buildrunner_dir(test_dir: str, file_name, args, exit_code):
196200 "test_dir, file_name, args, exit_code" ,
197201 _get_test_runs (test_dir = f"{ TEST_DIR } /test-files" , serial_tests = True ),
198202)
199- def test_serial_buildrunner_dir (test_dir : str , file_name , args , exit_code ):
203+ def xtest_serial_buildrunner_dir (test_dir : str , file_name , args , exit_code ):
200204 _test_buildrunner_file (test_dir , file_name , args , exit_code )
201205
202206
@@ -208,7 +212,7 @@ def test_serial_buildrunner_dir(test_dir: str, file_name, args, exit_code):
208212 "test_dir, file_name, args, exit_code" ,
209213 _get_test_runs (test_dir = f"{ TEST_DIR } /test-files/arm-arch" , serial_tests = False ),
210214)
211- def test_buildrunner_arm_dir (test_dir : str , file_name , args , exit_code ):
215+ def xtest_buildrunner_arm_dir (test_dir : str , file_name , args , exit_code ):
212216 _test_buildrunner_file (test_dir , file_name , args , exit_code )
213217
214218
@@ -217,7 +221,7 @@ def test_buildrunner_arm_dir(test_dir: str, file_name, args, exit_code):
217221 "test_dir, file_name, args, exit_code" ,
218222 _get_test_runs (test_dir = f"{ TEST_DIR } /test-files/scan" , serial_tests = False ),
219223)
220- def test_buildrunner_scan_dir (test_dir : str , file_name , args , exit_code ):
224+ def xtest_buildrunner_scan_dir (test_dir : str , file_name , args , exit_code ):
221225 # The scan tests can be flaky, with errors like "TOOMANYREQUESTS: retry-after: 804.543µs, allowed: 44000/minute"
222226 _test_buildrunner_file (test_dir , file_name , args , exit_code )
223227
0 commit comments