summaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorAmlal <amlal@zka.com>2024-10-22 20:49:53 +0200
committerAmlal <amlal@zka.com>2024-10-22 20:49:53 +0200
commit37be901c97e89f6ebb24e87933ddf57cd57371d5 (patch)
tree7e21246231d8196cd5b46d4caca1d44b977216a4 /tests
parentb277464db34e1097a1feee01b18320058cd13b68 (diff)
IMP: Refactor of the source code.
Signed-off-by: Amlal <amlal@zka.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/example.cc (renamed from tests/example.cxx)0
-rw-r--r--tests/posix.json18
-rw-r--r--tests/win64.json26
3 files changed, 14 insertions, 30 deletions
diff --git a/tests/example.cxx b/tests/example.cc
index dfef2e4..dfef2e4 100644
--- a/tests/example.cxx
+++ b/tests/example.cc
diff --git a/tests/posix.json b/tests/posix.json
index 805e5c1..944b320 100644
--- a/tests/posix.json
+++ b/tests/posix.json
@@ -1,18 +1,10 @@
{
"compiler_path": "g++",
"compiler_std": "c++20",
- "headers_path": [
- "inc"
- ],
- "sources_path": [
- "example.cxx"
- ],
+ "headers_path": ["inc"],
+ "sources_path": ["example.cc"],
"output_name": "example.elf",
- "compiler_flags": [
- "-fPIC"
- ],
- "cpp_macros": [
- "FOO_MACRO"
- ],
+ "compiler_flags": ["-fPIC"],
+ "cpp_macros": ["FOO_MACRO"],
"run_after_build": true
-} \ No newline at end of file
+}
diff --git a/tests/win64.json b/tests/win64.json
index f074c43..cba2af7 100644
--- a/tests/win64.json
+++ b/tests/win64.json
@@ -1,18 +1,10 @@
{
- "compiler_path": "x86_64-w64-mingw32-g++",
- "compiler_std": "c++20",
- "headers_path": [
- "inc"
- ],
- "sources_path": [
- "example.cxx"
- ],
- "output_name": "example.elf",
- "compiler_flags": [
- "-fPIC"
- ],
- "cpp_macros": [
- "FOO_MACRO"
- ],
- "run_after_build": true
- } \ No newline at end of file
+ "compiler_path": "x86_64-w64-mingw32-g++",
+ "compiler_std": "c++20",
+ "headers_path": ["inc"],
+ "sources_path": ["example.cc"],
+ "output_name": "example.elf",
+ "compiler_flags": ["-fPIC"],
+ "cpp_macros": ["FOO_MACRO"],
+ "run_after_build": true
+}