From 465c48ec8c6e7ff1d117fc061c7c076dcb6277f4 Mon Sep 17 00:00:00 2001 From: Botond Baranyi <botond.baranyi@ericsson.com> Date: Mon, 17 Aug 2020 15:41:08 +0200 Subject: [PATCH] Made certain function tests less strict when matching float values after float display change Signed-off-by: Botond Baranyi <botond.baranyi@ericsson.com> Change-Id: I31836e08695976665e5bde10530a8fdaf297fe90 --- function_test/Semantic_Analyser/TTCN3_SA_5_TD.script | 2 +- .../Semantic_Analyser/TTCN3_SA_ttcn3adhoc_TD.script | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/function_test/Semantic_Analyser/TTCN3_SA_5_TD.script b/function_test/Semantic_Analyser/TTCN3_SA_5_TD.script index d2eb3ece9..0b0269875 100644 --- a/function_test/Semantic_Analyser/TTCN3_SA_5_TD.script +++ b/function_test/Semantic_Analyser/TTCN3_SA_5_TD.script @@ -1865,7 +1865,7 @@ const ftype4 f8 := f7; (?im)not.+?valid.+?value.+?for.+?subtype <END_RESULT> <RESULT COUNT 1> -(?is)\berror: Subtype mismatch: subtype \(6(\.0)?e0\.\.7(\.0)?e0\) has no common value with subtype \(4\.1e-1,1(\.0)?e0,2(\.0)?e0,8.0e0\.\.1(\.0)?e1\) +(?is)\berror: Subtype mismatch: subtype \(6(\.0)?e0\.\.7(\.0)?e0\) has no common value with subtype \(4\..*e-1,1(\.0)?e0,2(\.0)?e0,8.0e0\.\.1(\.0)?e1\) <END_RESULT> <RESULT COUNT 4> (?is)\berror: diff --git a/function_test/Semantic_Analyser/TTCN3_SA_ttcn3adhoc_TD.script b/function_test/Semantic_Analyser/TTCN3_SA_ttcn3adhoc_TD.script index da7f73d71..dd9df50fb 100644 --- a/function_test/Semantic_Analyser/TTCN3_SA_ttcn3adhoc_TD.script +++ b/function_test/Semantic_Analyser/TTCN3_SA_ttcn3adhoc_TD.script @@ -5571,13 +5571,13 @@ module module1 (?is)\berror: 4.0e0 is not a valid value for type `float' which has subtype \(1.0e0,2.0e0,3.0e0\) <END_RESULT> <RESULT COUNT 1> -(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.0e0\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) +(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.*e0\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) <END_RESULT> <RESULT COUNT 1> -(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.0e0..8.0e0\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) +(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.*e0..8.0e0\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) <END_RESULT> <RESULT COUNT 1> -(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.0e0..8.0e0,1.6e1\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) +(?is)\berror: The subtype restriction is not a subset of the restriction on the parent type. Subtype \(4.*e0..8.0e0,1.6.*e1\) is not subset of subtype \(1.0e0,2.0e0,3.0e0\) <END_RESULT> <RESULT COUNT 11> (?is)\berror: -- GitLab