Skip to content

Commit 19d9c2c

Browse files
committed
python: Added speed_store argument to simulation projects.
1 parent 436e98e commit 19d9c2c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

python/inet/project/inet.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
media_folder="doc/media",
2020
statistics_folder="statistics",
2121
fingerprint_store="tests/fingerprint/store.json",
22+
speed_store="tests/speed/store.json",
2223
external_libraries=["avcodec", "avformat", "avutil", "swresample", "osg", "osgText", "osgDB", "osgGA", "osgViewer", "osgUtil", "OpenThreads", "z3", "omp"],
2324
external_include_folders=["/usr/include/x86_64-linux-gnu"])
2425

python/inet/simulation/project.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
4444
bin_folder=".", library_folder=".", executables=None, dynamic_libraries=None, static_libraries=None, build_types=["dynamic library"],
4545
ned_folders=["."], ned_exclusions=[], ini_file_folders=["."], python_folders=["python"], image_folders=["."],
4646
include_folders=["."], cpp_folders=["."], cpp_defines=[], msg_folders=["."],
47-
media_folder=".", statistics_folder=".", fingerprint_store="fingerprint.json",
47+
media_folder=".", statistics_folder=".", fingerprint_store="fingerprint.json", speed_store="speed.json",
4848
used_projects=[], external_bin_folders=[], external_library_folders=[], external_libraries=[], external_include_folders=[],
4949
simulation_configs=None, **kwargs):
5050
"""
@@ -123,6 +123,9 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
123123
fingerprint_store (String):
124124
The relative path of the JSON fingerprint store for fingerprint tests.
125125
126+
speed_store (String):
127+
The relative path of the JSON measurement store for speed tests.
128+
126129
used_projects (List of strings):
127130
The list of used simulation project names.
128131
@@ -174,6 +177,7 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
174177
self.media_folder = media_folder
175178
self.statistics_folder = statistics_folder
176179
self.fingerprint_store = fingerprint_store
180+
self.speed_store = speed_store
177181
self.used_projects = used_projects
178182
self.external_bin_folders = external_bin_folders
179183
self.external_library_folders = external_library_folders

0 commit comments

Comments
 (0)