Skip to content

Commit 972de6b

Browse files
committed
Test the unit test benchmark
Signed-off-by: Stefan Marr <[email protected]>
1 parent 320196d commit 972de6b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.gitlab-ci.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@ build-and-test-interpreters:
2222
- export PATH=$PATH:$PYPY_BIN_DIR
2323

2424
- export SOM_INTERP=BC
25-
25+
- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
26+
2627
# Unit Tests
2728
- PYTHONPATH=src python3 -m pytest
2829
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som
2930

3031
# Interpreter
3132
- $RPYTHON --batch src/main_rpython.py
3233
- ./som-bc-interp -cp Smalltalk TestSuite/TestHarness.som
34+
- ./som-bc-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
3335

3436
- export SOM_INTERP=AST
3537

@@ -40,6 +42,7 @@ build-and-test-interpreters:
4042
# Interpreter
4143
- $RPYTHON --batch src/main_rpython.py
4244
- ./som-ast-interp -cp Smalltalk TestSuite/TestHarness.som
45+
- ./som-ast-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
4346

4447

4548
# Package and Upload
@@ -67,6 +70,8 @@ build-and-test-jit-bc:
6770
# JIT Compiled Version
6871
- $RPYTHON --batch -Ojit src/main_rpython.py
6972
- ./som-bc-jit -cp Smalltalk TestSuite/TestHarness.som
73+
- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
74+
- ./som-bc-jit -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
7075

7176
# Package and Upload
7277
- lz4 som-bc-jit som-bc-jit.lz4
@@ -91,6 +96,8 @@ build-and-test-jit-ast:
9196
# JIT Compiled Version
9297
- $RPYTHON --batch -Ojit src/main_rpython.py
9398
- ./som-ast-jit -cp Smalltalk TestSuite/TestHarness.som
99+
- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)
100+
- ./som-ast-jit -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som
94101

95102
# Package and Upload
96103
- lz4 som-ast-jit som-ast-jit.lz4

0 commit comments

Comments
 (0)