summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:03:12 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-03-28 05:03:12 +0100
commit004bc5ccdf1a8499e2c937dcc687843cea89160d (patch)
tree2a3ba3f41e3cdead9ef5e5c33f88ef5dc3e58ecd /tests
parent842bc7b58dca972a560a8ab056d7bc35ea3b5567 (diff)
examples: move example files from tests/ to examples/example_01/
Relocate the generic C++ example and its build configs into a dedicated examples/example_01/ directory to better separate tests from usage samples. No content changes were made; files were renamed only. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/example.cc8
-rw-r--r--tests/posix.json10
-rw-r--r--tests/win64.json10
3 files changed, 0 insertions, 28 deletions
diff --git a/tests/example.cc b/tests/example.cc
deleted file mode 100644
index dfef2e4..0000000
--- a/tests/example.cc
+++ /dev/null
@@ -1,8 +0,0 @@
-#include <string>
-#include <iostream>
-
-int main(int argc, char** argv)
-{
- std::cout << "hello, world!\n";
- return 0;
-}
diff --git a/tests/posix.json b/tests/posix.json
deleted file mode 100644
index 17a6022..0000000
--- a/tests/posix.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "compiler_path": "g++",
- "compiler_std": "c++20",
- "headers_path": ["lib"],
- "sources_path": ["example.cc"],
- "output_name": "example.elf",
- "compiler_flags": ["-fPIC"],
- "cpp_macros": ["FOO_MACRO"],
- "run_after_build": true
-}
diff --git a/tests/win64.json b/tests/win64.json
deleted file mode 100644
index 1712d8b..0000000
--- a/tests/win64.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "compiler_path": "x86_64-w64-mingw32-g++",
- "compiler_std": "c++20",
- "headers_path": ["lib"],
- "sources_path": ["example.cc"],
- "output_name": "example.elf",
- "compiler_flags": ["-fPIC"],
- "cpp_macros": ["FOO_MACRO"],
- "run_after_build": true
-}