From 152f40f51a30bf3a0b72de5efc629912b80239f4 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Tue, 18 Oct 2016 18:20:27 +0200 Subject: [PATCH] Test for #1834 --- playground/unity/a.c | 3 +++ playground/unity/main.c | 3 +++ playground/unity/wscript | 12 ++++++++++++ 3 files changed, 18 insertions(+) create mode 100644 playground/unity/a.c create mode 100644 playground/unity/main.c create mode 100644 playground/unity/wscript diff --git a/playground/unity/a.c b/playground/unity/a.c new file mode 100644 index 00000000..88dc44b3 --- /dev/null +++ b/playground/unity/a.c @@ -0,0 +1,3 @@ +int foo() { + return 34; +} diff --git a/playground/unity/main.c b/playground/unity/main.c new file mode 100644 index 00000000..cb3f7482 --- /dev/null +++ b/playground/unity/main.c @@ -0,0 +1,3 @@ +int main() { + return 0; +} diff --git a/playground/unity/wscript b/playground/unity/wscript new file mode 100644 index 00000000..7993ca4b --- /dev/null +++ b/playground/unity/wscript @@ -0,0 +1,12 @@ +#! /usr/bin/env python + +def options(opt): + opt.load('compiler_c') + +def configure(conf): + conf.load('compiler_c') + conf.load('unity') + +def build(bld): + bld.program(source='a.c main.c', target='app') +