forked from cory/tildefriends
Format.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4848 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
aeb5c6ee25
commit
33dd2560e0
@ -1911,10 +1911,10 @@ void tf_task_destroy(tf_task_t* task)
|
|||||||
uv_run(&task->_loop, UV_RUN_ONCE);
|
uv_run(&task->_loop, UV_RUN_ONCE);
|
||||||
}
|
}
|
||||||
|
|
||||||
//int index = 0;
|
int index = 0;
|
||||||
while (uv_loop_close(&task->_loop) != 0)
|
while (uv_loop_close(&task->_loop) != 0)
|
||||||
{
|
{
|
||||||
//if (index++ > 0)
|
if (index++ > 0)
|
||||||
{
|
{
|
||||||
tf_printf("--\n");
|
tf_printf("--\n");
|
||||||
uv_print_all_handles(&task->_loop, stdout);
|
uv_print_all_handles(&task->_loop, stdout);
|
||||||
|
@ -760,14 +760,13 @@ static void _test_auto(const tf_test_options_t* options)
|
|||||||
|
|
||||||
char* args[] = { executable, "run", "-d", "out/selenium.sqlite", "-b", "0", "-p", "8888", NULL };
|
char* args[] = { executable, "run", "-d", "out/selenium.sqlite", "-b", "0", "-p", "8888", NULL };
|
||||||
|
|
||||||
uv_stdio_container_t io[3] =
|
uv_stdio_container_t io[3] = {
|
||||||
{
|
|
||||||
{ .flags = UV_INHERIT_FD },
|
{ .flags = UV_INHERIT_FD },
|
||||||
{ .flags = UV_INHERIT_FD },
|
{ .flags = UV_INHERIT_FD },
|
||||||
{ .flags = UV_INHERIT_FD },
|
{ .flags = UV_INHERIT_FD },
|
||||||
};
|
};
|
||||||
|
|
||||||
uv_process_options_t process_options = {0};
|
uv_process_options_t process_options = { 0 };
|
||||||
process_options.args = args;
|
process_options.args = args;
|
||||||
process_options.exit_cb = _test_auto_process_exit;
|
process_options.exit_cb = _test_auto_process_exit;
|
||||||
process_options.stdio = io;
|
process_options.stdio = io;
|
||||||
|
Loading…
Reference in New Issue
Block a user