]> granicus.if.org Git - libevent/commitdiff
Fix tinytset_skip to work with new tinytest_set_flag_ signature
authorNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2012 19:36:15 +0000 (15:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 20 Jul 2012 19:36:15 +0000 (15:36 -0400)
test/tinytest.h

index 25e292034bb2974e9bb24ae5ab4eccff398fff57..dff440e3190ed250e52bb9a54d786f46a7523322 100644 (file)
@@ -84,7 +84,7 @@ int tinytest_set_flag_(struct testgroup_t *, const char *, int set, unsigned lon
 
 /** Set all tests in 'groups' matching the name 'named' to be skipped. */
 #define tinytest_skip(groups, named) \
-       tinytest_set_flag_(groups, named, TT_SKIP)
+       tinytest_set_flag_(groups, named, 1, TT_SKIP)
 
 /** Run a single testcase in a single group. */
 int testcase_run_one(const struct testgroup_t *,const struct testcase_t *);