@@ -377,48 +377,6 @@ def skip_on_sstsimulator_conf_empty_str(section, key, reason):
377
377
return lambda func : func
378
378
return unittest .skip (reason )
379
379
380
- ################################################################################
381
- # SST Core Configuration include file (sst_config.h.conf) Access Functions
382
- ################################################################################
383
-
384
- def sst_core_config_include_file_get_value_int (define , default = None , disable_warning = False ):
385
- """ Retrieve a define from the SST Core Configuration Include File (sst_config.h)
386
-
387
- Args:
388
- define (str): The define to look for
389
- default (int): Default Return if failure occurs
390
- disable_warning (bool): Disable logging the warning if define is not found
391
-
392
- Returns:
393
- (int) The returned data or default if not found in the include file
394
-
395
- Raises:
396
- SSTTestCaseException: if type is incorrect OR no data AND default
397
- is not provided
398
- """
399
- return _get_sst_config_include_file_value (test_engine_globals .TESTENGINE_CORE_CONFINCLUDE_DICT ,
400
- "sst_config.h" , define , default , int , disable_warning )
401
-
402
- ###
403
-
404
- def sst_core_config_include_file_get_value_str (define , default = None , disable_warning = False ):
405
- """ Retrieve a define from the SST Core Configuration Include File (sst_config.h)
406
-
407
- Args:
408
- define (str): The define to look for
409
- default (str): Default Return if failure occurs
410
- disable_warning (bool): Disable logging the warning if define is not found
411
-
412
- Returns:
413
- (str) The returned data or default if not found in the include file
414
-
415
- Raises:
416
- SSTTestCaseException: if type is incorrect OR no data AND default
417
- is not provided
418
- """
419
- return _get_sst_config_include_file_value (test_engine_globals .TESTENGINE_CORE_CONFINCLUDE_DICT ,
420
- "sst_config.h" , define , default , str , disable_warning )
421
-
422
380
################################################################################
423
381
# SST Elements Configuration include file (sst_element_config.h.conf) Access Functions
424
382
################################################################################
@@ -438,8 +396,8 @@ def sst_elements_config_include_file_get_value_int(define, default=None, disable
438
396
SSTTestCaseException: if type is incorrect OR no data AND default
439
397
is not provided
440
398
"""
441
- return _get_sst_config_include_file_value (test_engine_globals .TESTENGINE_ELEM_CONFINCLUDE_DICT ,
442
- "sst_element_config.h" , define , default , int , disable_warning )
399
+ return get_sst_config_include_file_value (test_engine_globals .TESTENGINE_ELEM_CONFINCLUDE_DICT ,
400
+ "sst_element_config.h" , define , default , int , disable_warning )
443
401
444
402
###
445
403
@@ -458,8 +416,8 @@ def sst_elements_config_include_file_get_value_str(define, default=None, disable
458
416
SSTTestCaseException: if type is incorrect OR no data AND default
459
417
is not provided
460
418
"""
461
- return _get_sst_config_include_file_value (test_engine_globals .TESTENGINE_ELEM_CONFINCLUDE_DICT ,
462
- "sst_element_config.h" , define , default , str , disable_warning )
419
+ return get_sst_config_include_file_value (test_engine_globals .TESTENGINE_ELEM_CONFINCLUDE_DICT ,
420
+ "sst_element_config.h" , define , default , str , disable_warning )
463
421
464
422
################################################################################
465
423
# SST Configuration file (sstsimulator.conf) Access Functions
@@ -1748,8 +1706,8 @@ def _get_linux_version(filepath, sep):
1748
1706
### Generic Internal Support Functions
1749
1707
################################################################################
1750
1708
1751
- def _get_sst_config_include_file_value (include_dict , include_source , define , default = None ,
1752
- data_type = str , disable_warning = False ):
1709
+ def get_sst_config_include_file_value (include_dict , include_source , define , default = None ,
1710
+ data_type = str , disable_warning = False ):
1753
1711
""" Retrieve a define from an SST Configuration Include File (sst_config.h or sst-element_config.h)
1754
1712
include_dict (dict): The dictionary to search for the define
1755
1713
include_source (str): The name of the include file we are searching
0 commit comments