diff options
author | Jürg Billeter <j@bitron.ch> | 2018-02-21 11:40:31 +0100 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2018-02-21 11:42:34 +0100 |
commit | cea43cb27f002a948558d0d4edc2b4e7131c9576 (patch) | |
tree | c1f1a1854624e7f4f0a36515a18ee4548f687a90 /tests/integration | |
parent | 260946ede14629b01c92fc7e568653e194724418 (diff) | |
download | buildstream-cea43cb27f002a948558d0d4edc2b4e7131c9576.tar.gz |
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.
Diffstat (limited to 'tests/integration')
3 files changed, 8 insertions, 8 deletions
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 <stdio.h> + +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 <iostream> - -int main() { - std::cout << "Hello world!\n"; - - return 0; -} |