Skip to content

Commit

Permalink
tests: Mark slow tests
Browse files Browse the repository at this point in the history
This patch marks all tests which execute significantly longer
than an average test with `is_slow = true`.
  • Loading branch information
kjarosh committed Apr 11, 2024
1 parent d338355 commit 3dff1bc
Show file tree
Hide file tree
Showing 31 changed files with 36 additions and 5 deletions.
1 change: 1 addition & 0 deletions tests/tests/swfs/avm1/bitmap_data_pixeldissolve/test.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_frames = 1
is_slow = true
3 changes: 2 additions & 1 deletion tests/tests/swfs/avm1/from_shumway/depth/test.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/avm1/depth

num_frames = 1
num_frames = 1
is_slow = true
3 changes: 2 additions & 1 deletion tests/tests/swfs/avm1/timeout/test.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
num_frames = 1
is_slow = true

[player_options]
max_execution_duration = { secs = 5, nanos = 0 }
max_execution_duration = { secs = 5, nanos = 0 }
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
num_ticks = 20
is_slow = true

[image_comparisons.output]
tolerance = 5
max_outliers = 389

[player_options]
with_renderer = { optional = false, sample_count = 1 }
with_renderer = { optional = false, sample_count = 1 }
1 change: 1 addition & 0 deletions tests/tests/swfs/avm2/bitmapdata_accuracy/test.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_frames = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 4
num_ticks = 4
is_slow = true
1 change: 1 addition & 0 deletions tests/tests/swfs/avm2/stage3d_blend/test.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
num_frames = 1
is_slow = true

[image_comparisons.output]
tolerance = 2
Expand Down
1 change: 1 addition & 0 deletions tests/tests/swfs/avm2/stage3d_raytrace/test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# All of the necessary files were copied into this directory.

num_frames = 80
is_slow = true

[image_comparisons.output]
tolerance = 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
1 change: 1 addition & 0 deletions tests/tests/swfs/from_avmplus/mops/mops_basics/test.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
num_ticks = 1
is_slow = true
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid

num_frames = 300
is_slow = true

[image_comparisons.output]
tolerance = 50
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Test adapted from Shumway at https://github.com/mozilla/shumway/tree/master/test/swfs/acid

num_frames = 500
is_slow = true

[image_comparisons.output]
tolerance = 11
Expand Down

0 comments on commit 3dff1bc

Please sign in to comment.