Changeset 13646
- Timestamp:
- Oct 2, 2019 9:55:11 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev-cw-evaluator/Python/src/tests_jmodelica/general/test_extfunctions.py
r13562 r13646 45 45 def test_builtin_substring(self): 46 46 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") 48 48 49 49 nbr_of_evaluator_calls = 0 … … 66 66 def test_add(self): 67 67 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") 69 69 70 70 nbr_of_evaluator_calls = 0 … … 83 83 def test_unsupported_signature(self): 84 84 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") 86 86 87 87 matches = 0 … … 96 96 cpath = "ExtFunctionTests.Evaluator_Unknown_Shared" 97 97 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") 99 99 except: #The compilation will fail, the interesting parts will though still be contained in the log file 100 100 pass … … 110 110 def test_double_return(self): 111 111 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") 113 113 114 114 nbr_of_evaluator_calls = 0 … … 127 127 def test_integer_return(self): 128 128 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") 130 130 131 131 nbr_of_evaluator_calls = 0 … … 143 143 def test_record(self): 144 144 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") 146 146 147 147 nbr_of_evaluator_calls = 0
Note: See TracChangeset
for help on using the changeset viewer.