/[gentoo-x86]/net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch
Gentoo

Contents of /net-libs/cyassl/files/cyassl-2.0.8-disable-testsuit-ifnothreads.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Jul 15 10:09:41 2014 UTC (6 weeks, 2 days ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
remove net-libs/cyassl

1 diff -Naur cyassl-2.0.8.orig//testsuite/testsuite.c cyassl-2.0.8/testsuite/testsuite.c
2 --- cyassl-2.0.8.orig//testsuite/testsuite.c 2012-02-13 14:51:39.000000000 -0500
3 +++ cyassl-2.0.8/testsuite/testsuite.c 2012-04-10 10:26:40.000000000 -0400
4 @@ -27,10 +27,11 @@
5 #include <cyassl/test.h>
6 #include <cyassl/ctaocrypt/md5.h>
7
8 +/* Create a stub rather than #error out */
9 +/* We can run the tests manually */
10 #ifdef SINGLE_THREADED
11 - #error testsuite needs threads to run, please run ctaocrypt/test, \
12 - and the examples/ individually
13 -#endif
14 +int main() { return 0; }
15 +#else
16
17 void wait_tcp_ready(func_args*);
18 void ctaocrypt_test(void*);
19 @@ -230,4 +231,4 @@
20 fclose(f);
21 }
22
23 -
24 +#endif /* SINGLE_THREADED */

  ViewVC Help
Powered by ViewVC 1.1.20