Skip to content
Snippets Groups Projects
Commit a71bfc89 authored by Erwan Jahier's avatar Erwan Jahier
Browse files

SocExec: The previous change broke the handling of arrow in SocExec. Now it seems to work.

parent f8ce6918
No related branches found
No related tags found
No related merge requests found
(* Time-stamp: <modified the 19/06/2014 (at 14:16) by Erwan Jahier> *) (* Time-stamp: <modified the 19/06/2014 (at 15:02) by Erwan Jahier> *)
open SocExecValue open SocExecValue
open Data open Data
...@@ -318,7 +318,7 @@ let lustre_current ctx = ...@@ -318,7 +318,7 @@ let lustre_current ctx =
let lustre_arrow ctx = let lustre_arrow ctx =
let (vn,vv) = let (vn,vv) =
match ([get_val "x" ctx; get_val "y" ctx; match ([get_val "x" ctx; get_val "y" ctx;
get_val "_memory" { ctx with cpath=List.tl ctx.cpath}]) get_val "_memory" { ctx with cpath=ctx.cpath}])
with with
| [v1;v2; fs] -> "z"::ctx.cpath, if fs=B false then v2 else v1 | [v1;v2; fs] -> "z"::ctx.cpath, if fs=B false then v2 else v1
| _ -> assert false | _ -> assert false
......
Test Run By jahier on Thu Jun 19 14:32:33 2014 Test Run By jahier on Thu Jun 19 15:25:21 2014
Native configuration is i686-pc-linux-gnu Native configuration is i686-pc-linux-gnu
=== lus2lic tests === === lus2lic tests ===
...@@ -1483,5 +1483,5 @@ XPASS: Test bad programs (semantics): lus2lic {-o /tmp/bug.lic should_fail/seman ...@@ -1483,5 +1483,5 @@ XPASS: Test bad programs (semantics): lus2lic {-o /tmp/bug.lic should_fail/seman
# of unexpected failures 149 # of unexpected failures 149
# of unexpected successes 21 # of unexpected successes 21
# of expected failures 37 # of expected failures 37
testcase ./lus2lic.tests/non-reg.exp completed in 130 seconds testcase ./lus2lic.tests/non-reg.exp completed in 137 seconds
testcase ./lus2lic.tests/progression.exp completed in 0 seconds testcase ./lus2lic.tests/progression.exp completed in 0 seconds
testcase ./lus2lic.tests/non-reg.exp completed in 130 seconds testcase ./lus2lic.tests/non-reg.exp completed in 137 seconds
testcase ./lus2lic.tests/progression.exp completed in 0 seconds testcase ./lus2lic.tests/progression.exp completed in 0 seconds
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment