mirror of
https://github.com/troglobit/libite.git
synced 2026-10-31 12:50:41 +00:00
Minor refactor of unit tests
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
16a30a293c
commit
dd53c3ae9e
2 files changed
+2
-2
No files matched your search
@@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "../lite.h"
|
#include "../lite.h"
|
||||||
|
|
||||||
|
#define PRINT(args...) if (verbose) printf(args)
|
||||||
|
|
||||||
#define fail_unless(test) \
|
#define fail_unless(test) \
|
||||||
do { \
|
do { \
|
||||||
if (!(test)) { \
|
if (!(test)) { \
|
||||||
|
|||||||
@@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
||||||
#define PRINT(args...) if (verbose) printf(args)
|
|
||||||
|
|
||||||
extern char *__pidfile_name;
|
extern char *__pidfile_name;
|
||||||
extern char *__pidfile_path;
|
extern char *__pidfile_path;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user