Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yosys-tests
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
yosys-tests
Commits
9514dd1d
Commit
9514dd1d
authored
Jul 16, 2019
by
Miodrag Milanovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expected to fail
parent
b58a6a28
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
misc/run.sh
+18
-3
No files found.
misc/run.sh
View file @
9514dd1d
...
@@ -17,6 +17,7 @@ touch .start
...
@@ -17,6 +17,7 @@ touch .start
if
echo
"
$1
"
|
grep
".*_error"
;
then
if
echo
"
$1
"
|
grep
".*_error"
;
then
expected_string
=
""
expected_string
=
""
expect_fail
=
0
#Change checked string for check other errors
#Change checked string for check other errors
if
[
"
$2
"
=
"abc_constr_no_liberty"
]
;
then
if
[
"
$2
"
=
"abc_constr_no_liberty"
]
;
then
expected_string
=
"ERROR: Got -constr but no -liberty!"
expected_string
=
"ERROR: Got -constr but no -liberty!"
...
@@ -217,14 +218,16 @@ if echo "$1" | grep ".*_error"; then
...
@@ -217,14 +218,16 @@ if echo "$1" | grep ".*_error"; then
expected_string
=
"ERROR: Called with -falsify and found a model"
expected_string
=
"ERROR: Called with -falsify and found a model"
elif
[
"
$2
"
=
"sat_verify_fail"
]
;
then
elif
[
"
$2
"
=
"sat_verify_fail"
]
;
then
expected_string
=
"ERROR: Called with -verify and proof did fail!"
expected_string
=
"ERROR: Called with -verify and proof did fail!"
elif
[
"
$2
"
=
"sat_all_with_tempinduct"
]
||
\
elif
[
"
$2
"
=
"sat_maxundef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_maxundef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_max_undef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_max_undef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_all_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_maxundef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_maxundef_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_maxundef_all_with_tempinduct"
]
;
then
[
"
$2
"
=
"sat_max_maxundef_all_with_tempinduct"
]
;
then
expected_string
=
"ERROR: The options -max, -all, and -max_undef are not supported for temporal induction proofs!"
expected_string
=
"ERROR: The options -max, -all, and -max_undef are not supported for temporal induction proofs!"
elif
[
"
$2
"
=
"sat_all_with_tempinduct"
]
||
\
[
"
$2
"
=
"sat_max_all_with_tempinduct"
]
;
then
expect_fail
=
1
expected_string
=
"SAT temporal induction proof finished - model found for base case: FAIL!"
elif
[
"
$2
"
=
"sat_maxsteps_only_for_tempinduct"
]
;
then
elif
[
"
$2
"
=
"sat_maxsteps_only_for_tempinduct"
]
;
then
expected_string
=
"ERROR: The options -maxsteps is only supported for temporal induction proofs!"
expected_string
=
"ERROR: The options -maxsteps is only supported for temporal induction proofs!"
elif
[
"
$2
"
=
"sat_si_def_zero"
]
||
\
elif
[
"
$2
"
=
"sat_si_def_zero"
]
||
\
...
@@ -378,6 +381,7 @@ if echo "$1" | grep ".*_error"; then
...
@@ -378,6 +381,7 @@ if echo "$1" | grep ".*_error"; then
fi
fi
if
[
"
$expect_fail
"
=
"0"
]
;
then
if
yosys
-ql
yosys.log ../../scripts/
$2
.ys
;
then
if
yosys
-ql
yosys.log ../../scripts/
$2
.ys
;
then
echo
FAIL
>
${
1
}
_
${
2
}
.status
echo
FAIL
>
${
1
}
_
${
2
}
.status
else
else
...
@@ -387,6 +391,17 @@ if echo "$1" | grep ".*_error"; then
...
@@ -387,6 +391,17 @@ if echo "$1" | grep ".*_error"; then
echo
FAIL
>
${
1
}
_
${
2
}
.status
echo
FAIL
>
${
1
}
_
${
2
}
.status
fi
fi
fi
fi
else
if
yosys
-ql
yosys.log ../../scripts/
$2
.ys
;
then
echo
PASS
>
${
1
}
_
${
2
}
.status
else
if
grep
"
$expected_string
"
yosys.log
&&
[
"
$expected_string
"
!=
""
]
;
then
echo
FAIL
>
${
1
}
_
${
2
}
.status
else
echo
PASS
>
${
1
}
_
${
2
}
.status
fi
fi
fi
else
else
yosys
-ql
yosys.log ../../scripts/
$2
.ys
yosys
-ql
yosys.log ../../scripts/
$2
.ys
...
...
Write
Preview
Markdown
is supported
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