aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/blogc-make/check_atom.c2
-rw-r--r--tests/blogc-make/check_exec.c2
-rw-r--r--tests/blogc-make/check_rules.c2
-rw-r--r--tests/blogc-make/check_settings.c2
4 files changed, 8 insertions, 0 deletions
diff --git a/tests/blogc-make/check_atom.c b/tests/blogc-make/check_atom.c
index 6faa53e..e487d30 100644
--- a/tests/blogc-make/check_atom.c
+++ b/tests/blogc-make/check_atom.c
@@ -20,6 +20,8 @@
#include "../../src/common/error.h"
#include "../../src/common/utils.h"
+const char *argv0 = NULL;
+
static void
test_atom_file(void **state)
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index 7b7f3bc..43ef161 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -18,6 +18,8 @@
#include "../../src/blogc-make/settings.h"
#include "../../src/common/utils.h"
+const char *argv0 = NULL;
+
static void
test_build_blogc_cmd_with_settings(void **state)
diff --git a/tests/blogc-make/check_rules.c b/tests/blogc-make/check_rules.c
index c8bd9a8..773ff06 100644
--- a/tests/blogc-make/check_rules.c
+++ b/tests/blogc-make/check_rules.c
@@ -17,6 +17,8 @@
#include "../../src/blogc-make/rules.h"
#include "../../src/common/utils.h"
+const char *argv0 = NULL;
+
static void
test_rule_parse_args(void **state)
diff --git a/tests/blogc-make/check_settings.c b/tests/blogc-make/check_settings.c
index 93aed59..3bdc9c5 100644
--- a/tests/blogc-make/check_settings.c
+++ b/tests/blogc-make/check_settings.c
@@ -18,6 +18,8 @@
#include "../../src/common/error.h"
#include "../../src/common/utils.h"
+const char *argv0 = NULL;
+
static void
test_settings_empty(void **state)