Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
verimag
synchrone
lustre-v6
Commits
9ea4ffc7
Commit
9ea4ffc7
authored
May 05, 2022
by
erwan
Browse files
fix: put back a (dummy) get_string in the main loop (used for abstract type)
parent
60d257ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/soc2c.ml
View file @
9ea4ffc7
(* Time-stamp: <modified the
27
/0
4
/2022 (at 1
7:32
) by Erwan Jahier> *)
(* Time-stamp: <modified the
06
/0
5
/2022 (at 1
0:29
) by Erwan Jahier> *)
(* let put (os: out_channel) (fmt:('a, unit, string, unit) format4) : 'a = *)
...
...
@@ -688,9 +688,15 @@ void _read_pragma("^ (
if (!strcmp(b,
\"
#q
\"
)) exit(0);"
^
(
if
SocUtils
.
is_memory_less
soc
then
""
else
"
if (!strcmp(b,
\"
#reset
\"
)) "
^
ctx
^
"_reset(ctx);
"
)
^
" return;
"
)
^
"
}
char* _get_string("
^
(
if
SocUtils
.
is_memory_less
soc
then
""
else
ctx
^
"_type* ctx,"
)
^
"char* n){
static char b[10] =
\"
dummy
\"
;
return b;
}
/* Standard Input procedures **************/
_boolean _get_bool("
^
(
if
SocUtils
.
is_memory_less
soc
then
""
else
...
...
test/lus2lic.sum
View file @
9ea4ffc7
==> lus2lic0.sum <==
Test run by jahier on Thu May 5 1
5:59:53
Test run by jahier on Thu May 5 1
7:35:18
Native configuration is x86_64-pc-linux-gnu
=== lus2lic0 tests ===
...
...
@@ -66,7 +66,7 @@ XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/lecte
XFAIL: Test bad programs (assert): test_lus2lic_no_node should_fail/assert/s.lus
==> lus2lic1.sum <==
Test run by jahier on Thu May 5 1
5:59:54
Test run by jahier on Thu May 5 1
7:35:19
Native configuration is x86_64-pc-linux-gnu
=== lus2lic1 tests ===
...
...
@@ -621,7 +621,7 @@ PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c multipar.lus {}
PASS: /home/jahier/lus2lic/test/../utils/compare_lv6_and_lv6_en multipar.lus {}
==> lus2lic2.sum <==
Test run by jahier on Thu May 5 1
6:04:08
Test run by jahier on Thu May 5 1
7:39:31
Native configuration is x86_64-pc-linux-gnu
=== lus2lic2 tests ===
...
...
@@ -1165,7 +1165,7 @@ PASS: /home/jahier/lus2lic/test/../utils/compare_lv6_and_lv6_en zzz2.lus {}
PASS: /home/jahier/lus2lic/test/../utils/compare_gcc_and_clang zzz2.lus {}
==> lus2lic3.sum <==
Test run by jahier on Thu May 5 1
6:08:58
Test run by jahier on Thu May 5 1
7:44:13
Native configuration is x86_64-pc-linux-gnu
=== lus2lic3 tests ===
...
...
@@ -1677,7 +1677,7 @@ PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node multipar.lus {}
==> lus2lic4.sum <==
Test run by jahier on Thu May 5 1
6:09:55
Test run by jahier on Thu May 5 1
7:45:12
Native configuration is x86_64-pc-linux-gnu
=== lus2lic4 tests ===
...
...
@@ -2200,11 +2200,11 @@ PASS: /home/jahier/lus2lic/test/../utils/compare_gcc_and_clang multipar.lus {}
===============================
# Total number of failures: 19
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 1 seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in 25
4
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in 2
90
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in 5
7
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 4
0
seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in 25
2
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in 2
82
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in 5
9
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 4
3
seconds
* Ref time:
2
21
.42
user
66.79
system 10:
42.45
elapsed 44%CPU (0avgtext+0avgdata 77
980
maxresident)k
24336
inputs+4
49736
outputs (5
2
major+
19311559
minor)pagefaults 0swaps
21
0.80
user
71.32
system 10:
37.07
elapsed 44%CPU (0avgtext+0avgdata 77
252
maxresident)k
197768
inputs+4
09560
outputs (5
60
major+
21705367
minor)pagefaults 0swaps
* Quick time (-j 4):
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment