Skip to content

Commit

Permalink
lzham: skip threads test
Browse files Browse the repository at this point in the history
This is causing sporadic failures on multiple platforms.  I'm not sure
if there is a bug in the code or if it's just because LZHAM is spawning
a bunch of threads for each thread we spawn in the test.  If the latter
we should definitely find a way to cooperate here.
  • Loading branch information
nemequ committed Feb 25, 2017
1 parent 8b6fd75 commit 4a4cfc5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/threads.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ squash_test_threads_buffer(MUNIT_UNUSED const MunitParameter params[], void* use
munit_assert_not_null(user_data);
SquashCodec* codec = (SquashCodec*) user_data;

if (strcmp ("lzham", squash_codec_get_name (codec)) == 0)
return MUNIT_SKIP;

const unsigned int n_threads = squash_test_cpu_count ();
thrd_t* threads = munit_newa(thrd_t, n_threads);

Expand Down

0 comments on commit 4a4cfc5

Please sign in to comment.