GitLab will continue to be upgraded from 11.4.5-ce.0 on November 25th 2019 at 4.00pm (AEDT) to 5.00pm (AEDT) due to Critical Security Patch Availability. During the update, GitLab and Mattermost services will not be available.

Commit 15e35778 authored by Isaac Oscar Gariano's avatar Isaac Oscar Gariano

Fixed errors in testcases

parent 5c288947
Pipeline #931 failed with stages
in 27 minutes and 45 seconds
......@@ -91,7 +91,6 @@ def test_swapstack_throw():
cs = COMMINST uvm.current_stack()
s = COMMINST uvm.new_stack<[(stackref)->()]>(new_func)
r = SWAPSTACK s RET_WITH<int<32>> PASS_VALUES<stackref>(cs) EXC(nor_dest(r) exc_dest())
RET r
nor_dest(<int<32>> r):
RET <int<32>>0
exc_dest()[exc_param]:
......@@ -131,7 +130,6 @@ def test_swapstack_throw_back():
cs = COMMINST uvm.current_stack()
s = COMMINST uvm.new_stack<[(stackref)->()]>(new_func)
r = SWAPSTACK s RET_WITH<int<32>> PASS_VALUES<stackref>(cs) EXC(nor_dest(r) exc_dest(s))
RET r
nor_dest(<int<32>> r):
RET <int<32>>0
exc_dest(<stackref> s)[exc_param]:
......@@ -146,4 +144,4 @@ def test_swapstack_throw_back():
SWAPSTACK s KILL_OLD THROW_EXC exc_param
}
""", "test_swapstack_throw_back");
assert(execute("test_swapstack_throw", []) == 3);
assert(execute("test_swapstack_throw_back", []) == 3);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment