aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-01-07 20:54:23 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-01-07 20:54:23 +0100
commit758b0f711c496a1121061724573bb0eb816cd57b (patch)
tree32f49361c53f7e2b9e743fec51972b9c4266e7ad /tests
parentbcb0f034b6ed1e2b0f362747287479e17c9da2de (diff)
downloadblogc-758b0f711c496a1121061724573bb0eb816cd57b.tar.gz
blogc-758b0f711c496a1121061724573bb0eb816cd57b.tar.bz2
blogc-758b0f711c496a1121061724573bb0eb816cd57b.zip
make: disable bm_find_binary tests when running embedded
Diffstat (limited to 'tests')
-rw-r--r--tests/blogc-make/check_exec.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/blogc-make/check_exec.c b/tests/blogc-make/check_exec.c
index 1dac6b2..e0c9931 100644
--- a/tests/blogc-make/check_exec.c
+++ b/tests/blogc-make/check_exec.c
@@ -6,6 +6,10 @@
* See the file LICENSE.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif /* HAVE_CONFIG_H */
+
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
@@ -178,7 +182,9 @@ int
main(void)
{
const UnitTest tests[] = {
+#ifndef MAKE_EMBEDDED
unit_test(test_find_binary),
+#endif
unit_test(test_build_blogc_cmd_with_settings),
unit_test(test_build_blogc_cmd_with_settings_and_dev),
unit_test(test_build_blogc_cmd_without_settings),