summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2014-01-08Misc: Revert all references to libusb/libusb.infohjelmn@cs.unm.edu4-52/+52
2013-09-28tests: set output_file to a valid valueLudovic Rousseau1-0/+1
If fdopen(3) fails then ctx->output_file is NULL and should not be used in cleanup_test_output() called next. Problem detected by the Coverity tool CID 1042543 (#1 of 1): Dereference after null check (FORWARD_NULL)9. var_deref_model: Passing "ctx" to function "cleanup_test_output(libusbx_testlib_ctx *)", which dereferences null "ctx->output_file".
2013-08-11Android: Add examples and stress testsToby Gray1-0/+1
2013-04-02libusbx 1.0.15-rc1Pete Batard1-1/+1
* Also fix missing header in release tarball
2013-03-16Tests: Suppress Visual Studio 2012 Code Analysis warningsPete Batard1-2/+3
2013-02-27Misc: Simplify includes and misc. cleanupPete Batard1-4/+0
* fxload sample provenance * No need for <sys/types.h> in samples as already in libusb.h * Don't bother about sscanf_s in xusb * Use HAVE_### and rely on config.h where possible * Formal inclusion of <winsock.h> in libusb.h for WinCE and WDK * Cleanup of Windows' config.h * Avoid ENAMETOOLONG and ENOTEMPTY conflict between errno.h and winsock.h for WinCE * Additional newlines & braces cleanup
2013-02-24Tests: Fix broken OS-X and Linux buildsXiaofan Chen1-2/+2
* _dup2 is Windows only. Use dup2 instead * Breakage was introduced in 76eecc6ce11d1bedee369859899901037dcd4cc2
2013-02-22Tests: Simplify stdout redirection and fix Windows assertion error on cleanupPete Batard2-35/+44
* cleanup_test_output() produced an assertion error when compiled with MSVC due to closing ctx->output_file * set ctx->output_file to stdout by default
2013-01-23WinCE: Add support for WinCE (sources)Toby Gray2-2/+18
2012-11-25Tests: Add libusbx stress testToby Gray4-0/+526
See https://github.com/tobygray/libusbx/tree/testing as well as http://libusbx.1081486.n5.nabble.com/Libusbx-devel-Crashes-tt433.html#a438