Skip to content

Commit e04d01b

Browse files
committed
TEST: Enable supporting const tests for wasm
1 parent aba32e0 commit e04d01b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

integration_tests/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,8 +454,8 @@ RUN(NAME print_list_tuple_02 LABELS cpython llvm c NOFAST)
454454
RUN(NAME print_list_tuple_03 LABELS cpython llvm c NOFAST)
455455

456456
# CPython and LLVM
457-
RUN(NAME const_01 LABELS cpython llvm c)
458-
RUN(NAME const_02 LABELS cpython llvm c)
457+
RUN(NAME const_01 LABELS cpython llvm c wasm)
458+
RUN(NAME const_02 LABELS cpython llvm c wasm)
459459
RUN(NAME const_03 LABELS cpython llvm c
460460
EXTRAFILES const_03b.c)
461461
RUN(NAME const_04 LABELS cpython llvm c)

integration_tests/const_01.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ def test_const_variables():
1313
ycf: Const[f64] = 3.0
1414
yf: f64 = 3.0
1515

16+
print(xci, xi)
17+
print(yci, yi)
18+
print(xcf, xf)
19+
print(ycf, yf)
20+
1621
assert xci == xi
1722
assert yci == yi
1823
assert xcf == xf

0 commit comments

Comments
 (0)