1
0
forked from M-Labs/artiq

remove lit tests

This commit is contained in:
Sebastien Bourdeauducq 2024-12-20 13:08:43 +08:00
parent 8d5cfcbe4d
commit a57cf3e1ca
2 changed files with 0 additions and 39 deletions

View File

@ -1,19 +0,0 @@
# RUN: %python -m artiq.compiler.testbench.jit %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# REQUIRES: exceptions
def doit():
try:
try:
raise RuntimeError("Error")
except ValueError:
print("ValueError")
except RuntimeError:
print("Caught")
finally:
print("Cleanup")
doit()
# CHECK-L: Caught
# CHECK-NEXT-L: Cleanup

View File

@ -1,20 +0,0 @@
# RUN: %python -m artiq.compiler.testbench.jit %s >%t
# RUN: OutputCheck %s --file-to-check=%t
# REQUIRES: exceptions
def doit():
try:
try:
raise RuntimeError("Error")
except ValueError:
print("ValueError")
finally:
print("Cleanup")
try:
doit()
except RuntimeError:
print("Caught")
# CHECK-L: Cleanup
# CHECK-NEXT-L: Caught