diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-01 23:10:54 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-03-01 23:11:53 +0100 |
commit | 6125e8a367a77684aa245e898f80dac3009a301a (patch) | |
tree | df34817da345ca25441b188403ab9a0ce595a69f /tests/blogc-make | |
parent | a2e4641865f5b1478c4243767abd208772a303b3 (diff) | |
download | blogc-6125e8a367a77684aa245e898f80dac3009a301a.tar.gz blogc-6125e8a367a77684aa245e898f80dac3009a301a.tar.bz2 blogc-6125e8a367a77684aa245e898f80dac3009a301a.zip |
make: implement binary lookup in a more portable way
Diffstat (limited to 'tests/blogc-make')
-rw-r--r-- | tests/blogc-make/check_atom.c | 2 | ||||
-rw-r--r-- | tests/blogc-make/check_exec.c | 2 | ||||
-rw-r--r-- | tests/blogc-make/check_rules.c | 2 | ||||
-rw-r--r-- | tests/blogc-make/check_settings.c | 2 |
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) |