Project restart

This commit is contained in:
2025-12-29 10:46:05 +01:00
commit 59d19cb48c
388 changed files with 48020 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
- py_func:
name: My first include test
file: $(test_path)$(psep)include.py
func_name: ValidationTest
key: $(test)_PASS
param:
- $(test parameter)

View File

@@ -0,0 +1,7 @@
- py_func:
name: {{ func_title }}
file: $(test_path)$(psep)include.py
func_name: ValidationTest
key: $(test)_PASS
param:
- {{ func_param }}

View File

@@ -0,0 +1,7 @@
- let: {name: Test param inclusion 1, values: [inclusion: $({{ dd }}_inc)]}
# note the Jinja comments : {# #}
# The following construction is not allowed and will fail to load:
# {#
# - let: {name: Test param inclusion 2, values: [inclusion: {{ $(inc)_inc }}]}
# #}

View File

@@ -0,0 +1,7 @@
import py_func.tm as tm
class ValidationTest(tm.FunctionItem):
def exec(self, param):
print(str(param))
return 0

View File

@@ -0,0 +1,3 @@
# inc_no template: "inc no template" # Both commented parma cannot be handled as this configuration file is loaded dynamically
# inc_with_template: "inc with template" # through the template mechanism
test_parameter: My first include test parameter

View File

@@ -0,0 +1,12 @@
- !include inc no template/my first include.tum
- !include $(inc_no_template)/my first include.tum
- !include {file: inc with template/my second include.tum, func_title: My second include test, func_param: My second include test parameter}
- !include
file: $(inc_with_template)/my second include.tum
func_title: My second include test
func_param: My second include test parameter
- let: {name: Declare param for inclusion, values: [inc: Dali, Dali_inc: Dalida]}
- !include {file: $(inc_with_template)/my_3d_include.tum, dd: $(inc)}