summaryrefslogtreecommitdiff
path: root/tests/clar.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2014-04-02 09:47:35 -0700
committerRussell Belfer <rb@github.com>2014-04-02 09:47:35 -0700
commit2e9c07f5eda5070bdcf9f962809375e5e3c561bb (patch)
tree0581602ed3fbcf7474366a88e100fb4f3017726c /tests/clar.h
parentada157b2375bea8ed0c7a71320a3325a9903ebd7 (diff)
downloadlibgit2-rb/dont-count-on-libgit2-source.tar.gz
Create cl_skip macro and use it to skip testsrb/dont-count-on-libgit2-source
There are a few tests that we need to skip in some cases. This adds a cl_skip macro to return from the current test and print a nicely formatted reason for doing so.
Diffstat (limited to 'tests/clar.h')
-rw-r--r--tests/clar.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/clar.h b/tests/clar.h
index 81263051d..48786de2c 100644
--- a/tests/clar.h
+++ b/tests/clar.h
@@ -16,6 +16,8 @@ void clar_test_shutdown(void);
int clar_test(int argc, char *argv[]);
const char *clar_sandbox_path(void);
+const char *clar_active_suite(void);
+const char *clar_active_test(void);
void cl_set_cleanup(void (*cleanup)(void *), void *opaque);
void cl_fs_cleanup(void);