Continous integration / Tests (push) Canceled after 0s
Testing clients / Build beanstalkd (push) Canceled after 0s
Continous integration / Docker build (push) Canceled after 0s
Testing clients / Test Pheanstalk PHP (push) Canceled after 0s
Testing clients / Test Greenstalk Python (3.9) (push) Canceled after 0s
Testing clients / Test Pystalk Python (3.10) (push) Canceled after 0s
29 lines
493 B
C
29 lines
493 B
C
/* include <stdint.h> */
|
|
|
|
#define TmpDirPat "/tmp/ct.XXXXXX"
|
|
|
|
typedef int64_t int64;
|
|
typedef struct Test Test;
|
|
typedef struct Benchmark Benchmark;
|
|
|
|
struct Test {
|
|
void (*f)(void);
|
|
const char *name;
|
|
int status;
|
|
int fd;
|
|
int pid;
|
|
char dir[sizeof TmpDirPat];
|
|
};
|
|
|
|
struct Benchmark {
|
|
void (*f)(int);
|
|
const char *name;
|
|
int status;
|
|
int64 dur;
|
|
int64 bytes;
|
|
char dir[sizeof TmpDirPat];
|
|
};
|
|
|
|
extern Test ctmaintest[];
|
|
extern Benchmark ctmainbench[];
|