Functions | Variables
runner.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "runner.h"
#include "task.h"
#include "uv.h"
Include dependency graph for runner.c:

Go to the source code of this file.

Functions

static int compare_task (const void *va, const void *vb)
 
static int find_helpers (const task_entry_t *task, const task_entry_t **helpers)
 
const char * fmt (double d)
 
void log_tap_result (int test_count, const char *test, int status, process_info_t *process)
 
void print_lines (const char *buffer, size_t size, FILE *stream)
 
void print_tests (FILE *stream)
 
int run_test (const char *test, int benchmark_output, int test_count)
 
int run_test_part (const char *test, const char *part)
 
int run_tests (int benchmark_output)
 

Variables

char executable_path [sizeof(executable_path)]
 

Function Documentation

◆ compare_task()

static int compare_task ( const void *  va,
const void *  vb 
)
static

Definition at line 33 of file runner.c.

◆ find_helpers()

static int find_helpers ( const task_entry_t task,
const task_entry_t **  helpers 
)
static

Definition at line 388 of file runner.c.

◆ fmt()

const char* fmt ( double  d)

Definition at line 40 of file runner.c.

◆ log_tap_result()

void log_tap_result ( int  test_count,
const char *  test,
int  status,
process_info_t process 
)

Definition at line 127 of file runner.c.

◆ print_lines()

void print_lines ( const char *  buffer,
size_t  size,
FILE *  stream 
)

Definition at line 433 of file runner.c.

◆ print_tests()

void print_tests ( FILE *  stream)

Definition at line 404 of file runner.c.

◆ run_test()

int run_test ( const char *  test,
int  benchmark_output,
int  test_count 
)

Definition at line 164 of file runner.c.

◆ run_test_part()

int run_test_part ( const char *  test,
const char *  part 
)

Definition at line 369 of file runner.c.

◆ run_tests()

int run_tests ( int  benchmark_output)

Definition at line 77 of file runner.c.

Variable Documentation

◆ executable_path

char executable_path[sizeof(executable_path)]

Definition at line 30 of file runner.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:30