Skip to content

Commit

Permalink
fixup! Add meson build system
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar committed Feb 12, 2024
1 parent 5055db6 commit 736061d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions tests/meson.build
Original file line number Diff line number Diff line change
@@ -1,18 +1,28 @@
tests = [
{
'name': 'test-brush-load',
# Takes less than a second.
'timeout': 5,
},
{
'name': 'test-brush-persistence',
# Takes less than a second.
'timeout': 5,
},
{
'name': 'test-details',
# Takes anywhere from 6, 8, 9, 32, 40, seconds
'timeout': 60,
},
{
'name': 'test-fixed-tiled-surface',
# Takes from 189, 198, 406.45s 205.32s 520.89s 800.01s 13
'timeout': 0,
},
{
'name': 'test-rng',
# Takes less than a second.
'timeout': 5,
},
]

Expand All @@ -29,6 +39,8 @@ if use_gegl
'link': [
libmypaint_gegl,
],
# Takes around 439. 670.63s 435.06s 647 800+ 800+
'timeout': 0,
}
endif

Expand All @@ -54,6 +66,7 @@ foreach test : tests
test_deps = test.get('deps', [])
test_incs = test.get('incs', [])
test_link = test.get('link', [])
test_timeout = test.get('timeout', 30)

test_exe = executable(
test_name,
Expand All @@ -80,7 +93,6 @@ foreach test : tests
test(
test_name,
test_exe,
# test-gegl-surface takes very long without optimizations.
timeout: 0,
timeout: test_timeout,
)
endforeach

0 comments on commit 736061d

Please sign in to comment.