tildefriends/src/tests.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
481 B
C
Raw Normal View History

#pragma once
/**
** \defgroup tests Tests
** This is the test harness.
** @{
*/
2024-02-28 21:18:59 -05:00
/**
** Options to control how tests are run.
*/
typedef struct _tf_test_options_t
{
2024-02-28 21:18:59 -05:00
/** The path to the Tilde Friends executable, in order to run subprocesses. */
const char* exe_path;
2024-02-28 21:18:59 -05:00
/** A comma-separated list of tests to run, or NULL. */
const char* tests;
} tf_test_options_t;
2024-02-28 21:18:59 -05:00
/**
** Run tests.
** @param options Test options.
*/
void tf_tests(const tf_test_options_t* options);
/** @} */