aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/first.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-01-01 17:33:42 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-01-03 19:38:10 +0100
commit35e1d6538a8767526b9cae66134441b146503a21 (patch)
tree871888fc2da33021b88546f78c33e90add2d675b /tests/libtest/first.c
parent45cea7196870f2b5e7096a619dc1a9725295ca1a (diff)
unittest: framework for unit-testing
This is the first approach at doing fairly clean and easy to write and debug unit tests.
Diffstat (limited to 'tests/libtest/first.c')
-rw-r--r--tests/libtest/first.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/first.c b/tests/libtest/first.c
index a0e713f48..53b372ba5 100644
--- a/tests/libtest/first.c
+++ b/tests/libtest/first.c
@@ -37,7 +37,7 @@ char *libtest_arg2=NULL;
char *libtest_arg3=NULL;
int test_argc;
char **test_argv;
-
+int unitfail; /* for unittests */
int main(int argc, char **argv)
{