diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 13:28:52 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-12-04 13:28:52 +0000 |
commit | 7af44e1552d41fc04ba5243e619a03c222c07c9f (patch) | |
tree | 181f09ca54164b31f8f67b9086041d25618dbc0e /test/libcss.c | |
parent | 3541ce862727a967c92f7f08e3c7da16522f89ef (diff) | |
download | libcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.gz libcss-7af44e1552d41fc04ba5243e619a03c222c07c9f.tar.bz2 |
Remove libcss_initialise/finalise.
Fix testsuite to compile (it passes, too)
svn path=/trunk/libcss/; revision=10955
Diffstat (limited to 'test/libcss.c')
-rw-r--r-- | test/libcss.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/libcss.c b/test/libcss.c deleted file mode 100644 index 5f2e82e..0000000 --- a/test/libcss.c +++ /dev/null @@ -1,29 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -#include <libcss/libcss.h> - -#include "testutils.h" - -static void *myrealloc(void *ptr, size_t len, void *pw) -{ - UNUSED(pw); - - return realloc(ptr, len); -} - -int main(int argc, char **argv) -{ - if (argc != 2) { - printf("Usage: %s <filename>\n", argv[0]); - return 1; - } - - assert(css_initialise(argv[1], myrealloc, NULL) == CSS_OK); - - assert (css_finalise(myrealloc, NULL) == CSS_OK); - - printf("PASS\n"); - - return 0; -} |