Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustre-v6
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
verimag
synchrone
lustre-v6
Commits
953ed8bb
Commit
953ed8bb
authored
9 years ago
by
Erwan Jahier
Browse files
Options
Downloads
Patches
Plain Diff
non-reg tests: add a couple of lustre files
parent
07af9d63
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
test/lus2lic.sum
+29
-15
29 additions, 15 deletions
test/lus2lic.sum
test/should_work/Xr.lus
+21
-0
21 additions, 0 deletions
test/should_work/Xr.lus
test/should_work/real_ex.lus
+5
-0
5 additions, 0 deletions
test/should_work/real_ex.lus
with
55 additions
and
15 deletions
test/lus2lic.sum
+
29
−
15
View file @
953ed8bb
==> lus2lic0.sum <==
Test Run By jahier on
Thu Aug
2
0
1
0
:20:
36
Test Run By jahier on
Mon Sep
2
1
1
1
:20:
45
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic0 tests ===
...
...
@@ -64,7 +64,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 Aug
2
0
1
0
:20:4
1
Test Run By jahier on
Mon Sep
2
1
1
1
:20:4
9
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic1 tests ===
...
...
@@ -396,7 +396,7 @@ PASS: gcc -o multipar.exec multipar_multipar.c multipar_multipar_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c multipar.lus {}
==> lus2lic2.sum <==
Test Run By jahier on
Thu Aug
2
0
1
0
:20:
36
Test Run By jahier on
Mon Sep
2
1
1
1
:20:
47
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic2 tests ===
...
...
@@ -440,6 +440,9 @@ PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c X2.lus {}
PASS: ./lus2lic {-2c X6.lus -n X6}
PASS: gcc -o X6.exec X6_X6.c X6_X6_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c X6.lus {}
PASS: ./lus2lic {-2c Xr.lus -n Xr}
PASS: gcc -o Xr.exec Xr_Xr.c Xr_Xr_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c Xr.lus {}
PASS: ./lus2lic {-2c nc1.lus -n nc1}
PASS: gcc -o nc1.exec nc1_nc1.c nc1_nc1_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c nc1.lus {}
...
...
@@ -574,6 +577,9 @@ PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c predefOp.lus {}
PASS: ./lus2lic {-2c produitBool.lus -n produitBool}
PASS: gcc -o produitBool.exec produitBool_produitBool.c produitBool_produitBool_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c produitBool.lus {}
PASS: ./lus2lic {-2c real_ex.lus -n real_ex}
PASS: gcc -o real_ex.exec real_ex_real_ex.c real_ex_real_ex_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c real_ex.lus {}
PASS: ./lus2lic {-2c redIf.lus -n redIf}
PASS: gcc -o redIf.exec redIf_redIf.c redIf_redIf_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c redIf.lus {}
...
...
@@ -735,7 +741,7 @@ PASS: gcc -o zzz2.exec zzz2_zzz2.c zzz2_zzz2_loop.c
PASS: /home/jahier/lus2lic/test/../utils/compare_exec_and_2c zzz2.lus {}
==> lus2lic3.sum <==
Test Run By jahier on
Thu Aug
2
0
1
0
:20:
37
Test Run By jahier on
Mon Sep
2
1
1
1
:20:
49
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic3 tests ===
...
...
@@ -1237,7 +1243,7 @@ PASS: ./myec2c {-o multipar.c multipar.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node multipar.lus {}
==> lus2lic4.sum <==
Test Run By jahier on
Thu Aug
2
0
1
0
:20:
39
Test Run By jahier on
Mon Sep
2
1
1
1
:20:
51
Native configuration is x86_64-unknown-linux-gnu
=== lus2lic4 tests ===
...
...
@@ -1294,6 +1300,10 @@ PASS: ./lus2lic {-o X6.lic X6.lus}
PASS: ./lus2lic {-ec -o X6.ec X6.lus}
PASS: ./myec2c {-o X6.c X6.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node X6.lus {}
PASS: ./lus2lic {-o Xr.lic Xr.lus}
PASS: ./lus2lic {-ec -o Xr.ec Xr.lus}
PASS: ./myec2c {-o Xr.c Xr.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node Xr.lus {}
PASS: ./lus2lic {-o nc1.lic nc1.lus}
PASS: ./lus2lic {-ec -o nc1.ec nc1.lus}
PASS: ./myec2c {-o nc1.c nc1.ec}
...
...
@@ -1484,6 +1494,10 @@ PASS: ./lus2lic {-o produitBool.lic produitBool.lus}
PASS: ./lus2lic {-ec -o produitBool.ec produitBool.lus}
PASS: ./myec2c {-o produitBool.c produitBool.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node produitBool.lus {}
PASS: ./lus2lic {-o real_ex.lic real_ex.lus}
PASS: ./lus2lic {-ec -o real_ex.ec real_ex.lus}
PASS: ./myec2c {-o real_ex.c real_ex.ec}
PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node real_ex.lus {}
PASS: ./lus2lic {-o redIf.lic redIf.lus}
PASS: ./lus2lic {-ec -o redIf.ec redIf.lus}
PASS: ./myec2c {-o redIf.c redIf.ec}
...
...
@@ -1732,7 +1746,7 @@ PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node zzz2.lus {}
=== lus2lic2 Summary ===
# of expected passes 3
24
# of expected passes 3
30
# of unexpected failures 3
==> lus2lic3.sum <==
...
...
@@ -1746,18 +1760,18 @@ PASS: /home/jahier/lus2lic/test/../utils/test_lus2lic_no_node zzz2.lus {}
=== lus2lic4 Summary ===
# of expected passes 4
63
# of expected passes 4
71
# of unexpected failures 4
===============================
# Total number of failures: 23
lus2lic0.log:testcase ./lus2lic.tests/test0.exp completed in 1 seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in 2
1
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in 5
2
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in 1
6
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 5
2
seconds
lus2lic1.log:testcase ./lus2lic.tests/test1.exp completed in 2
3
seconds
lus2lic2.log:testcase ./lus2lic.tests/test2.exp completed in 5
0
seconds
lus2lic3.log:testcase ./lus2lic.tests/test3.exp completed in 1
9
seconds
lus2lic4.log:testcase ./lus2lic.tests/test4.exp completed in 5
3
seconds
* Ref time:
0.0
5
user 0.0
2
system 2:0
7.2
5elapsed 0%CPU (0avgtext+0avgdata 5
068
maxresident)k
0inputs+0outputs (0major+554
1
minor)pagefaults 0swaps
0.0
3
user 0.0
4
system 2:0
4.0
5elapsed 0%CPU (0avgtext+0avgdata 5
100
maxresident)k
0inputs+0outputs (0major+554
5
minor)pagefaults 0swaps
* Quick time (-j 4):
0.0
2
user 0.0
3
system 0:5
6.3
9elapsed 0%CPU (0avgtext+0avgdata 50
4
0maxresident)k
64
inputs+0outputs (0major+55
61
minor)pagefaults 0swaps
0.0
4
user 0.0
1
system 0:5
8.6
9elapsed 0%CPU (0avgtext+0avgdata 5
1
00maxresident)k
0
inputs+0outputs (0major+55
83
minor)pagefaults 0swaps
This diff is collapsed.
Click to expand it.
test/should_work/Xr.lus
0 → 100644
+
21
−
0
View file @
953ed8bb
node
Xr
(
c
:
bool
;
n
:
real
)
returns
(
d
:
bool
;
m
:
real
;
p
:
real
);
var
m_on_c
:
real
when
c
;
p_on_d
:
real
when
d
;
let
assert
(
c
->
true
);
d
,
m_on_c
,
p_on_d
=
X_clk
(
c
,
n
when
c
);
m
=
current
(
m_on_c
);
p
=
current
(
p_on_d
);
tel
node
X_clk
(
c
:
bool
;
n
:
real
when
c
)
returns
(
d
:
bool
;
m
:
real
when
c
;
p
:
real
when
d
);
let
m
=
0
.
when
c
->
pre
(
m
)
+
n
;
d
=
c
and
(
current
(
m
)
<=
10
.
);
p
=
0
.
when
d
->
pre
(
p
)
+
1
.
when
d
;
tel
This diff is collapsed.
Click to expand it.
test/should_work/real_ex.lus
0 → 100644
+
5
−
0
View file @
953ed8bb
node
real_ex
(
x
:
real
)
returns
(
y
:
real
);
let
y
=
x
;
tel
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment