From cea43cb27f002a948558d0d4edc2b4e7131c9576 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Billeter?= Date: Wed, 21 Feb 2018 11:40:31 +0100 Subject: tests/integration: Do not use C++ compiler in workspace-mount test This means that the integration test suite no longer requires a C++ compiler, and in practice this can allow us to avoid depending on the GNU C/C++ compilers altogether and instead use the vastly smaller Tiny C Compiler. --- tests/integration/project/elements/workspace/workspace-mount.bst | 2 +- tests/integration/project/files/workspace-mount-src/hello.c | 7 +++++++ tests/integration/project/files/workspace-mount-src/hello.cpp | 7 ------- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 tests/integration/project/files/workspace-mount-src/hello.c delete mode 100644 tests/integration/project/files/workspace-mount-src/hello.cpp diff --git a/tests/integration/project/elements/workspace/workspace-mount.bst b/tests/integration/project/elements/workspace/workspace-mount.bst index 20b434964..78d5a8204 100644 --- a/tests/integration/project/elements/workspace/workspace-mount.bst +++ b/tests/integration/project/elements/workspace/workspace-mount.bst @@ -11,4 +11,4 @@ sources: config: build-commands: - - g++ -c hello.cpp + - cc -c hello.c diff --git a/tests/integration/project/files/workspace-mount-src/hello.c b/tests/integration/project/files/workspace-mount-src/hello.c new file mode 100644 index 000000000..7e9a170a9 --- /dev/null +++ b/tests/integration/project/files/workspace-mount-src/hello.c @@ -0,0 +1,7 @@ +#include + +int main() { + fprintf(stdout, "Hello world!\n"); + + return 0; +} diff --git a/tests/integration/project/files/workspace-mount-src/hello.cpp b/tests/integration/project/files/workspace-mount-src/hello.cpp deleted file mode 100644 index 5d364c3cb..000000000 --- a/tests/integration/project/files/workspace-mount-src/hello.cpp +++ /dev/null @@ -1,7 +0,0 @@ -#include - -int main() { - std::cout << "Hello world!\n"; - - return 0; -} -- cgit v1.2.1