diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-06-07 10:59:03 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-01-03 11:50:38 +0000 |
| commit | 72c28ab011759dce113c2a0c7c36ebcd56bd6ddf (patch) | |
| tree | 34322df49d0ee561d61e29f5d6b3638fa81bc018 /tests/iterator | |
| parent | 8999f6acc78810680f282db4257e842971b80cb4 (diff) | |
| download | libgit2-72c28ab011759dce113c2a0c7c36ebcd56bd6ddf.tar.gz | |
tests: status::worktree: indicate skipped tests on Win32
Some function bodies of tests which are not applicable to the Win32
platform are completely #ifdef'd out instead of calling `cl_skip()`.
This leaves us with no indication that these tests are not being
executed at all and may thus cause decreased scrutiny when investigating
skipped tests. Improve the situation by calling `cl_skip()` instead of
just doing nothing.
Diffstat (limited to 'tests/iterator')
| -rw-r--r-- | tests/iterator/workdir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/iterator/workdir.c b/tests/iterator/workdir.c index f33fd98f1..618006715 100644 --- a/tests/iterator/workdir.c +++ b/tests/iterator/workdir.c @@ -741,6 +741,8 @@ void test_iterator_workdir__skips_fifos_and_special_files(void) cl_assert_equal_i(GIT_ITEROVER, git_iterator_advance(&e, i)); git_iterator_free(i); +#else + cl_skip(); #endif } |
