diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/py/gen_test_data_cpp.py | 2 | ||||
-rw-r--r-- | scripts/py/templates/iofmdata.cc.template (renamed from scripts/py/templates/testdata.cc.template) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/scripts/py/gen_test_data_cpp.py b/scripts/py/gen_test_data_cpp.py index ea4bd6f..a58f415 100644 --- a/scripts/py/gen_test_data_cpp.py +++ b/scripts/py/gen_test_data_cpp.py @@ -85,7 +85,7 @@ def write_individual_cc_file(filename, cc_filename, header_filename, header_temp hex_line_generator = (', '.join(map(hex, sub_arr)) for sub_arr in np.array_split(fm_data, math.ceil(len(fm_data) / 20))) - env.get_template('testdata.cc.template').stream(common_template_header=hdr, + env.get_template('iofmdata.cc.template').stream(common_template_header=hdr, include_h=header_filename, var_name=array_name, fm_data=hex_line_generator, diff --git a/scripts/py/templates/testdata.cc.template b/scripts/py/templates/iofmdata.cc.template index e3c1dc6..e3c1dc6 100644 --- a/scripts/py/templates/testdata.cc.template +++ b/scripts/py/templates/iofmdata.cc.template |