Changeset 13646


Ignore:
Timestamp:
Oct 2, 2019 9:55:11 PM (2 months ago)
Author:
Christian Andersson
Message:

Updated the option in the tests. Related to ticket:5837

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-cw-evaluator/Python/src/tests_jmodelica/general/test_extfunctions.py

    r13562 r13646  
    4545    def test_builtin_substring(self):
    4646        cpath = "ExtFunctionTests.Evaluator_Substring"
    47         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     47        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    4848       
    4949        nbr_of_evaluator_calls = 0
     
    6666    def test_add(self):
    6767        cpath = "ExtFunctionTests.Evaluator_Add"
    68         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     68        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    6969       
    7070        nbr_of_evaluator_calls = 0
     
    8383    def test_unsupported_signature(self):
    8484        cpath = "ExtFunctionTests.Evaluator_Multiple_Add"
    85         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     85        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    8686       
    8787        matches = 0
     
    9696        cpath = "ExtFunctionTests.Evaluator_Unknown_Shared"
    9797        try:
    98             fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log_unknown_shared.txt")
     98            fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log_unknown_shared.txt")
    9999        except: #The compilation will fail, the interesting parts will though still be contained in the log file
    100100            pass
     
    110110    def test_double_return(self):
    111111        cpath = "ExtFunctionTests.Evaluator_Double"
    112         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     112        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    113113       
    114114        nbr_of_evaluator_calls = 0
     
    127127    def test_integer_return(self):
    128128        cpath = "ExtFunctionTests.Evaluator_Integer"
    129         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     129        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    130130       
    131131        nbr_of_evaluator_calls = 0
     
    143143    def test_record(self):
    144144        cpath = "ExtFunctionTests.Evaluator_Record"
    145         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
     145        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_evaluation_dynamic":True}, compiler_log_level="d:log.txt")
    146146       
    147147        nbr_of_evaluator_calls = 0
Note: See TracChangeset for help on using the changeset viewer.