Skip to content

Commit 1011bf4

Browse files
committed
Added integration tests to GHA
Signed-off-by: Stefan Marr <[email protected]>
1 parent 493702b commit 1011bf4

File tree

2 files changed

+137
-0
lines changed

2 files changed

+137
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ jobs:
2020
./som.sh -cp core-lib/Smalltalk:core-lib/TestSuite:core-lib/SomSom/src/compiler:core-lib/SomSom/src/vm:core-lib/SomSom/src/vmobjects:core-lib/SomSom/src/interpreter:core-lib/SomSom/src/primitives \
2121
core-lib/SomSom/tests/SomSomTests.som
2222
23+
- name: Integration Tests
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install pytest
27+
export VM=./som.sh
28+
export CLASSPATH=Smalltalk
29+
export TEST_EXCEPTIONS=./integration-tests.yml
30+
pytest core-lib/IntegrationTests
31+
2332
- name: CheckStyle
2433
run: |
2534
ant checkstyle

integration-tests.yml

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
known_failures: []
2+
3+
4+
failing_as_unspecified:
5+
- core-lib/IntegrationTests/Tests/arbint_double_div_err.som
6+
- core-lib/IntegrationTests/Tests/arbint_double_div_zero_err.som
7+
- core-lib/IntegrationTests/Tests/arbint_modulus_err.som
8+
- core-lib/IntegrationTests/Tests/array_at_idx0_err.som
9+
- core-lib/IntegrationTests/Tests/array_at_idx2_err.som
10+
- core-lib/IntegrationTests/Tests/array_at_idx_err.som
11+
- core-lib/IntegrationTests/Tests/array_at_negative_idx_err.som
12+
- core-lib/IntegrationTests/Tests/array_at_put_idx0_err.som
13+
- core-lib/IntegrationTests/Tests/array_at_put_idx2_err.som
14+
- core-lib/IntegrationTests/Tests/call2.som
15+
16+
# I think this one is about E vs e, but maybe also double rendering
17+
- core-lib/IntegrationTests/Tests/double2.som
18+
# - core-lib/IntegrationTests/Tests/double_double_div.som
19+
# - core-lib/IntegrationTests/Tests/int_double_div.som
20+
# - core-lib/IntegrationTests/Tests/integer_asdouble.som
21+
22+
23+
# I think IEEE allows for infinities here, and we probably want that
24+
- core-lib/IntegrationTests/Tests/double3.som
25+
- core-lib/IntegrationTests/Tests/double4.som
26+
- core-lib/IntegrationTests/Tests/double5.som
27+
- core-lib/IntegrationTests/Tests/double6.som
28+
- core-lib/IntegrationTests/Tests/double7.som
29+
- core-lib/IntegrationTests/Tests/double8.som
30+
- core-lib/IntegrationTests/Tests/double9.som
31+
- core-lib/IntegrationTests/Tests/double11.som
32+
- core-lib/IntegrationTests/Tests/double13.som
33+
34+
# Java seems to do some rounding in the transition, but it's also requiring bigints
35+
- core-lib/IntegrationTests/Tests/double_asinteger.som
36+
37+
38+
- core-lib/IntegrationTests/Tests/double_double_div_err.som
39+
- core-lib/IntegrationTests/Tests/double_double_div_zero_err1.som
40+
- core-lib/IntegrationTests/Tests/double_double_div_zero_err2.som
41+
- core-lib/IntegrationTests/Tests/double_double_div_zero_err3.som
42+
- core-lib/IntegrationTests/Tests/double_double_div_zero_err4.som
43+
- core-lib/IntegrationTests/Tests/double_modulus.som
44+
- core-lib/IntegrationTests/Tests/double_modulus_err.som
45+
46+
- core-lib/IntegrationTests/Tests/exit_double.som
47+
- core-lib/IntegrationTests/Tests/exit_int_too_big.som
48+
- core-lib/IntegrationTests/Tests/exit_string.som
49+
50+
- core-lib/IntegrationTests/Tests/fromstring_double_err.som
51+
- core-lib/IntegrationTests/Tests/fromstring_err.som
52+
53+
- core-lib/IntegrationTests/Tests/hashcode2.som
54+
55+
- core-lib/IntegrationTests/Tests/inst_var_at_bad_idx.som
56+
- core-lib/IntegrationTests/Tests/inst_var_at_put_bad_idx.som
57+
58+
- core-lib/IntegrationTests/Tests/instance_fields_overlap/test.som
59+
- core-lib/IntegrationTests/Tests/instance_fields_overlap2.som
60+
61+
- core-lib/IntegrationTests/Tests/int5.som
62+
- core-lib/IntegrationTests/Tests/int8.som
63+
- core-lib/IntegrationTests/Tests/int9.som
64+
65+
- core-lib/IntegrationTests/Tests/int10.som
66+
- core-lib/IntegrationTests/Tests/int11.som
67+
- core-lib/IntegrationTests/Tests/int12.som
68+
- core-lib/IntegrationTests/Tests/int13.som
69+
- core-lib/IntegrationTests/Tests/int14.som
70+
- core-lib/IntegrationTests/Tests/int15.som
71+
- core-lib/IntegrationTests/Tests/int16.som
72+
- core-lib/IntegrationTests/Tests/int17.som
73+
74+
# too large shifts would take too much memory to support
75+
# need to specify this some how
76+
- core-lib/IntegrationTests/Tests/int20.som
77+
- core-lib/IntegrationTests/Tests/int21.som
78+
- core-lib/IntegrationTests/Tests/int22.som
79+
- core-lib/IntegrationTests/Tests/int23.som
80+
- core-lib/IntegrationTests/Tests/int25.som
81+
- core-lib/IntegrationTests/Tests/int27.som
82+
- core-lib/IntegrationTests/Tests/int28.som
83+
- core-lib/IntegrationTests/Tests/int31.som
84+
85+
- core-lib/IntegrationTests/Tests/int_double_div_err.som
86+
- core-lib/IntegrationTests/Tests/int_double_div_zero_err.som
87+
- core-lib/IntegrationTests/Tests/int_modulus.som
88+
- core-lib/IntegrationTests/Tests/int_modulus_err.som
89+
90+
- core-lib/IntegrationTests/Tests/load_string.som
91+
92+
- core-lib/IntegrationTests/Tests/mutate_methods.som
93+
- core-lib/IntegrationTests/Tests/mutate_superclass_method/test.som
94+
95+
- core-lib/IntegrationTests/Tests/nested_backtrace1.som
96+
- core-lib/IntegrationTests/Tests/nested_backtrace2.som
97+
98+
- core-lib/IntegrationTests/Tests/obj2.som
99+
100+
- core-lib/IntegrationTests/Tests/perform_string.som
101+
- core-lib/IntegrationTests/Tests/perform_witharguments_wrong.som
102+
103+
- core-lib/IntegrationTests/Tests/remainder_zero.som
104+
- core-lib/IntegrationTests/Tests/round.som
105+
106+
- core-lib/IntegrationTests/Tests/shift_right.som
107+
- core-lib/IntegrationTests/Tests/shift_right_too_big.som
108+
- core-lib/IntegrationTests/Tests/shift_right_type_err.som
109+
110+
- core-lib/IntegrationTests/Tests/str_escape_unknown.som
111+
112+
- core-lib/IntegrationTests/Tests/system2.som
113+
- core-lib/IntegrationTests/Tests/system_global_lookup_string.som
114+
- core-lib/IntegrationTests/Tests/system_global_put_string.som
115+
116+
- core-lib/IntegrationTests/Tests/test_literals_limit_1.som
117+
- core-lib/IntegrationTests/Tests/unknown_field_write.som
118+
119+
# This should be specified so that the "set" of fields cannot be changed reflectively
120+
# they obtained array can be changed, but it is expected to have no effect.
121+
- core-lib/IntegrationTests/Tests/mutate_fields.som
122+
123+
124+
unsupported: []
125+
126+
127+
do_not_run:
128+
- core-lib/IntegrationTests/Tests/case_insensitive.som

0 commit comments

Comments
 (0)