1
0
mirror of https://github.com/haiwen/libsearpc.git synced 2025-09-15 22:38:20 +00:00

pipe clients: added concurrency tests.

This commit is contained in:
Shuai Lin
2016-06-14 10:07:42 +08:00
parent 7bc0bfbe27
commit 749a480fda
4 changed files with 102 additions and 25 deletions

View File

@@ -5,6 +5,8 @@
* For full terms see the included COPYING file.
*/
#include <glib.h>
#include "clar_test.h"
/*
@@ -22,6 +24,13 @@ int __cdecl main(int argc, char *argv[])
int main(int argc, char *argv[])
#endif
{
#if !GLIB_CHECK_VERSION(2, 36, 0)
g_type_init ();
#endif
#ifndef WIN32
signal (SIGPIPE, SIG_IGN);
#endif
/* Run the test suite */
return clar_test(argc, argv);
}