Skip to content

Commit

Permalink
python: Added speed_store argument to simulation projects.
Browse files Browse the repository at this point in the history
  • Loading branch information
levy committed Nov 14, 2024
1 parent 436e98e commit 19d9c2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions python/inet/project/inet.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
media_folder="doc/media",
statistics_folder="statistics",
fingerprint_store="tests/fingerprint/store.json",
speed_store="tests/speed/store.json",
external_libraries=["avcodec", "avformat", "avutil", "swresample", "osg", "osgText", "osgDB", "osgGA", "osgViewer", "osgUtil", "OpenThreads", "z3", "omp"],
external_include_folders=["/usr/include/x86_64-linux-gnu"])

Expand Down
6 changes: 5 additions & 1 deletion python/inet/simulation/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
bin_folder=".", library_folder=".", executables=None, dynamic_libraries=None, static_libraries=None, build_types=["dynamic library"],
ned_folders=["."], ned_exclusions=[], ini_file_folders=["."], python_folders=["python"], image_folders=["."],
include_folders=["."], cpp_folders=["."], cpp_defines=[], msg_folders=["."],
media_folder=".", statistics_folder=".", fingerprint_store="fingerprint.json",
media_folder=".", statistics_folder=".", fingerprint_store="fingerprint.json", speed_store="speed.json",
used_projects=[], external_bin_folders=[], external_library_folders=[], external_libraries=[], external_include_folders=[],
simulation_configs=None, **kwargs):
"""
Expand Down Expand Up @@ -123,6 +123,9 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
fingerprint_store (String):
The relative path of the JSON fingerprint store for fingerprint tests.
speed_store (String):
The relative path of the JSON measurement store for speed tests.
used_projects (List of strings):
The list of used simulation project names.
Expand Down Expand Up @@ -174,6 +177,7 @@ def __init__(self, name, version, git_hash=None, git_diff_hash=None, folder_envi
self.media_folder = media_folder
self.statistics_folder = statistics_folder
self.fingerprint_store = fingerprint_store
self.speed_store = speed_store
self.used_projects = used_projects
self.external_bin_folders = external_bin_folders
self.external_library_folders = external_library_folders
Expand Down

0 comments on commit 19d9c2c

Please sign in to comment.