File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -292,16 +292,19 @@ jobs:
292292 build_dist : alpine
293293 build_type : clang-relsize-lto-ninja-static
294294 cross_arch : riscv64
295+ skip_slow_tests : true
295296
296297 - build_arch : amd64
297298 build_dist : alpine
298299 build_type : clang-release-ninja-static
299300 cross_arch : riscv64
301+ skip_slow_tests : true
300302
301303 - build_arch : amd64
302304 build_dist : alpine
303305 build_type : gcc-release-ninja-static
304306 cross_arch : riscv64
307+ skip_slow_tests : true
305308
306309 - build_arch : amd64
307310 build_dist : alpine
@@ -312,16 +315,19 @@ jobs:
312315 build_dist : alpine
313316 build_type : clang-relsize-lto-ninja-static
314317 cross_arch : i386
318+ skip_slow_tests : true
315319
316320 - build_arch : amd64
317321 build_dist : alpine
318322 build_type : clang-release-ninja-static
319323 cross_arch : i386
324+ skip_slow_tests : true
320325
321326 - build_arch : amd64
322327 build_dist : alpine
323328 build_type : gcc-release-ninja-static
324329 cross_arch : i386
330+ skip_slow_tests : true
325331
326332 - build_arch : amd64
327333 build_dist : alpine
@@ -332,11 +338,13 @@ jobs:
332338 build_dist : alpine
333339 build_type : clang-relsize-lto-ninja-static
334340 cross_arch : arm
341+ skip_slow_tests : true
335342
336343 - build_arch : amd64
337344 build_dist : alpine
338345 build_type : clang-release-ninja-static
339346 cross_arch : arm
347+ skip_slow_tests : true
340348
341349 # ######## fails: static_assert(std::atomic<bool>::is_always_lock_free);
342350 # - build_arch: amd64
Original file line number Diff line number Diff line change 2929 required : false
3030 type : boolean
3131 default : false
32+ skip_slow_tests :
33+ required : false
34+ type : boolean
35+ default : false
3236
3337permissions :
3438 contents : read
7276 --mount type=bind,source=${HOME}/github-local,target=/local \
7377 --mount type=bind,source=/mnt/opensource/artifacts/dwarfs,target=/artifacts \
7478 ${{ inputs.build_from_tarball && '--env BUILD_FROM_TARBALL=1' || '' }} \
79+ ${{ inputs.skip_slow_tests && '--env DWARFS_SKIP_SLOW_TESTS=1' || '' }} \
7580 --env BUILD_TYPE=${{ inputs.build_type }} \
7681 --env BUILD_ARCH=${{ inputs.build_arch }} \
7782 --env CROSS_ARCH=${{ inputs.cross_arch }} \
Original file line number Diff line number Diff line change @@ -476,6 +476,8 @@ block_merger_test(size_t const max_runs) {
476476} // namespace
477477
478478TEST (block_merger, random) {
479+ DWARFS_SLOW_TEST ();
480+
479481 using merger_type = internal::multi_queue_block_merger<size_t , block>;
480482
481483 auto max_runs = skip_slow_tests () ? max_runs_regular_quick : max_runs_regular;
@@ -487,6 +489,8 @@ TEST(block_merger, random) {
487489}
488490
489491TEST (block_merger, random_sized) {
492+ DWARFS_SLOW_TEST ();
493+
490494 using merger_type =
491495 internal::multi_queue_block_merger<size_t , sized_block,
492496 sized_block_merger_policy>;
@@ -500,6 +504,8 @@ TEST(block_merger, random_sized) {
500504}
501505
502506TEST (block_merger, random_sized_partial) {
507+ DWARFS_SLOW_TEST ();
508+
503509 using merger_type =
504510 internal::multi_queue_block_merger<size_t , sized_block,
505511 sized_block_merger_policy>;
Original file line number Diff line number Diff line change @@ -2990,6 +2990,8 @@ TEST(mkdwarfs_test, map_file_error) {
29902990class map_file_error_test : public testing ::TestWithParam<char const *> {};
29912991
29922992TEST_P (map_file_error_test, delayed) {
2993+ DWARFS_SLOW_TEST ();
2994+
29932995#if defined(__linux__) && defined(__i386__)
29942996 GTEST_SKIP () << " this test is flaky on i386 Linux (SIGPIPE)" ;
29952997#endif
You can’t perform that action at this time.
0 commit comments