Changeset 13542


Ignore:
Timestamp:
Sep 19, 2019 11:20:39 AM (3 months ago)
Author:
Christian Andersson
Message:

Updated tests after option change. Related to ticket:5837

File:
1 edited

Legend:

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

    r13482 r13542  
    4545    def test_builtin_substring(self):
    4646        cpath = "ExtFunctionTests.Evaluator_Substring"
    47         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"enable_external_evaluator":True}, compiler_log_level="d:log.txt")
     47        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
    4848       
    4949        nbr_of_evaluator_calls = 0
     
    6464    def test_add(self):
    6565        cpath = "ExtFunctionTests.Evaluator_Add"
    66         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"enable_external_evaluator":True}, compiler_log_level="d:log.txt")
     66        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
    6767       
    6868        nbr_of_evaluator_calls = 0
     
    8181    def test_unsupported_signature(self):
    8282        cpath = "ExtFunctionTests.Evaluator_Multiple_Add"
    83         fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"enable_external_evaluator":True}, compiler_log_level="d:log.txt")
     83        fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log.txt")
    8484       
    8585        matches = 0
     
    9494        cpath = "ExtFunctionTests.Evaluator_Unknown_Shared"
    9595        try:
    96             fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"enable_external_evaluator":True}, compiler_log_level="d:log_unknown_shared.txt")
     96            fmu_name = compile_fmu(cpath, self.fpath, compiler_options={"external_constant_dynamic_evaluator":True}, compiler_log_level="d:log_unknown_shared.txt")
    9797        except: #The compilation will fail, the interesting parts will though still be contained in the log file
    9898            pass
Note: See TracChangeset for help on using the changeset viewer.