From c241bf8b8866fd4f1578cbb80b3b399ab2fd78b0 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Wed, 23 Oct 2024 15:38:15 +0200 Subject: [PATCH 1/2] run the interpreter tests when no generator tests are available --- CHANGELOG.md | 4 + .../models/behavior.mps | 95 ++++++++++++++++--- 2 files changed, 84 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f9464979bc..19319151a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ The project does _not_ follow Semantic Versioning and the changes are documented ## October 2024 +### Changed + +- When the generator tests are not available (e.g. not generated), the interpreter tests are executed instead. + ### Fixed - The interpreter of the `success` expression was fixed. diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps index e5c0a781c3..2a92460256 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps @@ -64,6 +64,8 @@ + + @@ -2632,28 +2634,91 @@ - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + From 93165255c673bc842a39a112348b126454092d00 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Tue, 29 Oct 2024 07:04:59 +0100 Subject: [PATCH 2/2] log error message when generator test can't be found --- .../models/behavior.mps | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps index 2a92460256..d66f20fd2b 100644 --- a/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps +++ b/code/languages/org.iets3.opensource/languages/org.iets3.core.expr.tests/models/behavior.mps @@ -353,6 +353,12 @@ + + + + + + @@ -2699,7 +2705,24 @@ - + + + + + + + + + + + + + + + + + +