forked from cory/tildefriends
27 lines
481 B
C
27 lines
481 B
C
#pragma once
|
|
|
|
/**
|
|
** \defgroup tests Tests
|
|
** This is the test harness.
|
|
** @{
|
|
*/
|
|
|
|
/**
|
|
** Options to control how tests are run.
|
|
*/
|
|
typedef struct _tf_test_options_t
|
|
{
|
|
/** The path to the Tilde Friends executable, in order to run subprocesses. */
|
|
const char* exe_path;
|
|
/** A comma-separated list of tests to run, or NULL. */
|
|
const char* tests;
|
|
} tf_test_options_t;
|
|
|
|
/**
|
|
** Run tests.
|
|
** @param options Test options.
|
|
*/
|
|
void tf_tests(const tf_test_options_t* options);
|
|
|
|
/** @} */
|