All checks were successful
CI Code / Check coding style (pull_request) Successful in 32s
CI Code / Check spelling (pull_request) Successful in 18s
CI Code / Linux (debian) (pull_request) Successful in 16m1s
CI Code / Linux (arch) (pull_request) Successful in 21m7s
CI Code / Linux (ubuntu) (pull_request) Successful in 16m24s
CI Code / Code Coverage (pull_request) Successful in 15m23s
Makefile.am: - Replace 4 hardcoded parallel commands with loop over FUNC_TEST_GROUPS - Easy to extend by adding group numbers to the variable functionaltests.c: - Remove test counts from comments (prone to becoming outdated) - Restore previous comment style with === separators for readability - Replace switch with groups[] array structure for extensibility proftest.h: - Fix comment to describe current state, not the change made CONTRIBUTING.md: - Document test groups and parallel execution commands - Add instructions for adding new test groups
29 lines
719 B
C
29 lines
719 B
C
#ifndef __H_PROFTEST
|
|
#define __H_PROFTEST
|
|
|
|
/*
|
|
* XDG paths are dynamic and generated per-test based on stub_port.
|
|
* Each test instance uses unique directories (./tests/functionaltests/files/{port}/xdg_*)
|
|
* to allow parallel test execution without file conflicts.
|
|
*/
|
|
extern char xdg_config_home[256];
|
|
extern char xdg_data_home[256];
|
|
|
|
extern int stub_port;
|
|
|
|
int init_prof_test(void **state);
|
|
int close_prof_test(void **state);
|
|
|
|
void prof_start(void);
|
|
void prof_connect(void);
|
|
void prof_connect_with_roster(const char *roster);
|
|
void prof_input(const char *input);
|
|
|
|
int prof_output_exact(const char *text);
|
|
int prof_output_regex(const char *text);
|
|
|
|
void prof_timeout(int timeout);
|
|
void prof_timeout_reset(void);
|
|
|
|
#endif
|