~ubuntu-branches/debian/stretch/libnice/stretch

« back to all changes in this revision

Viewing changes to tests/test-thread.c

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2014-05-14 12:00:13 UTC
  • mfrom: (1.2.9) (5.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20140514120013-fi5mh9bexrjnwnd8
Tags: 0.1.7-1
* New upstream release 0.1.6, 0.1.7
  - fixes various compiler warnings that were mistakenly fatal in 0.1.5
    (Closes: #743232, #743233)
  - update symbols file for new API
* Explicitly disable -Werror, even if we package a non-release in future
* Don't run tests during the build. We were ignoring failures already,
  and they sometimes hang until the buildd terminates them.
  Upstream (Olivier Crête) says they are stable enough to be useful
  for developers, but not for integration testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
{
70
70
  GMainLoop *loop = data;
71
71
 
72
 
  g_usleep (100000);
 
72
  /* Synchronise thread starting. */
 
73
  while (!g_main_loop_is_running (error_loop));
 
74
 
73
75
  g_main_loop_run (loop);
74
76
 
75
77
  return NULL;
195
197
  WSAStartup(0x0202, &w);
196
198
#endif
197
199
  g_type_init ();
198
 
#if !GLIB_CHECK_VERSION(2,31,8)
199
200
  g_thread_init(NULL);
200
 
#endif
201
201
 
202
202
  lmainctx = g_main_context_new ();
203
203
  rmainctx = g_main_context_new ();