mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-07 16:15:22 +08:00
remove lit tests
This commit is contained in:
parent
8d5cfcbe4d
commit
a57cf3e1ca
@ -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
|
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user