projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e98d67
)
Update test case_mulli, I think it now works correctly
author
Cole Poirier
<colepoirier@gmail.com>
Fri, 7 Aug 2020 01:05:10 +0000
(18:05 -0700)
committer
Cole Poirier
<colepoirier@gmail.com>
Fri, 7 Aug 2020 01:05:10 +0000
(18:05 -0700)
src/soc/fu/mul/test/test_pipe_caller.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/mul/test/test_pipe_caller.py
b/src/soc/fu/mul/test/test_pipe_caller.py
index 82974d383a89a2c62794af6a3085e453ba7024ce..768894103c2163b6c797cb6418cd83662d43cef6 100644
(file)
--- a/
src/soc/fu/mul/test/test_pipe_caller.py
+++ b/
src/soc/fu/mul/test/test_pipe_caller.py
@@
-291,10
+291,9
@@
class MulTestCase(TestAccumulatorBase):
for i in range(40):
choice = random.choice(test_values)
- l = [f"mulli
1, 0
, {choice}"]
+ l = [f"mulli
0, 1
, {choice}"]
initial_regs = [0] * 32
initial_regs[1] = random.randint(-1 << 15, (1 << 15) - 1)
- initial_regs[2] = random.randint(-1 << 15, (1 << 15) - 1)
# use "with" so as to close the files used
with Program(l, bigendian) as prog:
self.add_case(prog, initial_regs)