Skip to content

Commit

Permalink
Merge pull request #154 from lf-lang/update-known-good
Browse files Browse the repository at this point in the history
Update lingua-franca and known-good
  • Loading branch information
lhstrh authored Mar 19, 2024
2 parents 7f8f767 + 5f8be24 commit 142f961
Show file tree
Hide file tree
Showing 123 changed files with 10,300 additions and 3,142 deletions.
2 changes: 1 addition & 1 deletion lingua-franca
Submodule lingua-franca updated 232 files
64 changes: 62 additions & 2 deletions test/known-good/C/src/ActionDelay.html
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,43 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Logical, physical, and elapsed logical: %lld %lld %lld.
Logical, physical, and elapsed logical:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">

</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">

</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -515,7 +551,31 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
FAILURE: Expected %lld but got %lld.
FAILURE: Expected
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
but got
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down
22 changes: 20 additions & 2 deletions test/known-good/C/src/ActionWithNoReaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current logical time is: %lld
Current logical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand All @@ -330,7 +339,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current physical time is: %lld
Current physical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down
36 changes: 33 additions & 3 deletions test/known-good/C/src/After.html
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current logical time is: %lld
Current logical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand All @@ -436,7 +445,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current physical time is: %lld
Current physical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -471,7 +489,19 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
ERROR: Expected logical time to be %lld.
ERROR: Expected logical time to be
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down
28 changes: 26 additions & 2 deletions test/known-good/C/src/AfterCycles.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,19 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Received %d from worker 0 at time %lld.
Received %d from worker 0 at time
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -742,7 +754,19 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Received %d from worker 1 at time %lld.
Received %d from worker 1 at time
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down
34 changes: 32 additions & 2 deletions test/known-good/C/src/AfterOverlapped.html
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current logical time is: %lld
Current logical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -442,7 +451,28 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
ERROR: Expected logical time to be %lld but got %lld
ERROR: Expected logical time to be
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
but got
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down
51 changes: 45 additions & 6 deletions test/known-good/C/src/AfterZero.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
</span>

<span class="source-lf">
SET(y,
lf_set(y,
</span>
<span class="source-lf constant-numeric-int-lflang">
2
Expand Down Expand Up @@ -411,7 +411,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current logical time is: %lld
Current logical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand All @@ -430,7 +439,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current microstep is: %lld
Current microstep is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand All @@ -455,7 +473,16 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
Current physical time is: %lld
Current physical time is:
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -490,7 +517,19 @@
"
</span>
<span class="source-lf string-quoted-double-lflang">
ERROR: Expected logical time to be %lld.
ERROR: Expected logical time to be
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf">
PRINTF_TIME
</span>
<span class="source-lf string-quoted-double-lflang">
"
</span>
<span class="source-lf string-quoted-double-lflang">
.
</span>
<span class="source-lf string-quoted-double-lflang constant-character-escape">
\n
Expand Down Expand Up @@ -890,7 +929,7 @@
</span>

<span class="source-lf">
SET(
lf_set(
</span>
<span class="source-lf variable-other-constant-reactorinstance-lflang">
f
Expand Down
Loading

0 comments on commit 142f961

Please sign in to comment.