summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-07-13 22:38:38 +0200
committerAmlal <amlal@zka.com>2024-07-13 22:38:54 +0200
commit26813ffe1f94b9915ba0ef2e1b57731c37cc7a1f (patch)
treec000c4d02d88b09cc6a6211812bd6390ce9dd33a /tests
parent0276bcf645b6471668504bf7ec23dd9c55614537 (diff)
[IMP] btb and new revision of zpt-core library.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/build.json6
-rw-r--r--tests/example.cxx8
-rw-r--r--tests/example.json6
3 files changed, 14 insertions, 6 deletions
diff --git a/tests/build.json b/tests/build.json
deleted file mode 100644
index 8a1ee45..0000000
--- a/tests/build.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "compiler_path": "cplusplus",
- "compiler_std": "c++20",
- "headers_path": ["/App/Modules/", "/App/Headers/"],
- "sources_path": ["/App/Sources/*.cxx"]
-}
diff --git a/tests/example.cxx b/tests/example.cxx
new file mode 100644
index 0000000..dfef2e4
--- /dev/null
+++ b/tests/example.cxx
@@ -0,0 +1,8 @@
+#include <string>
+#include <iostream>
+
+int main(int argc, char** argv)
+{
+ std::cout << "hello, world!\n";
+ return 0;
+}
diff --git a/tests/example.json b/tests/example.json
new file mode 100644
index 0000000..12dd2a5
--- /dev/null
+++ b/tests/example.json
@@ -0,0 +1,6 @@
+{
+ "compiler_path": "g++",
+ "compiler_std": "c++20",
+ "sources_path": ["tests/example.cxx"],
+ "output_name": "example.elf"
+}