diff options
author | Lzu Tao <taolzu@gmail.com> | 2018-12-02 14:36:09 (GMT) |
---|---|---|
committer | Lzu Tao <taolzu@gmail.com> | 2018-12-03 12:19:02 (GMT) |
commit | 5699432d386062b9088fda27bb0c597062efa666 (patch) | |
tree | 11d3bbbda4bcc08095457937c6edc91ae890bbf0 | |
parent | 3a510831c31500e94f9fd732b586ef7b92642d2c (diff) | |
download | lz4-5699432d386062b9088fda27bb0c597062efa666.zip lz4-5699432d386062b9088fda27bb0c597062efa666.tar.gz lz4-5699432d386062b9088fda27bb0c597062efa666.tar.bz2 |
meson test: Update timeout and tests that use COPYING
-rw-r--r-- | contrib/meson/tests/meson.build | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/contrib/meson/tests/meson.build b/contrib/meson/tests/meson.build index 82e2813..392bcf2 100644 --- a/contrib/meson/tests/meson.build +++ b/contrib/meson/tests/meson.build @@ -15,7 +15,7 @@ lib_dir_inc = include_directories(join_paths(lz4_root_dir, 'lib')) # Test flags # ============================================================================= -TEST_FILES = join_paths(lz4_root_dir, 'tests/COPYING') +TEST_FILES = join_paths(meson.current_source_dir(), lz4_root_dir, 'tests/COPYING') FUZZER_TIME = '-T90s' NB_LOOPS = '-i1' @@ -76,6 +76,18 @@ checkTag = executable('checkTag', # Tests (Use "meson test --list" to list all tests) # ============================================================================= -test('test-fullbench', fullbench, args: ['--no-prompt', NB_LOOPS, TEST_FILES]) -test('test-fuzzer', fuzzer, args: [FUZZER_TIME]) -test('test-frametest', frametest, args: [FUZZER_TIME]) +# XXX: (Need TEST) These timeouts (in seconds) when running on a HDD should be +# at least six times bigger than on a SSD + +test('test-fullbench', + fullbench, + args: ['--no-prompt', NB_LOOPS, TEST_FILES], + timeout: 420) # Should enough when running on HDD +test('test-fuzzer', + fuzzer, + args: [FUZZER_TIME], + timeout: 100) +test('test-frametest', + frametest, + args: [FUZZER_TIME], + timeout: 100) |