Skip to content

Commit

Permalink
Test the unit test benchmark
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Mar 1, 2024
1 parent 181bbde commit b239f2a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,16 @@ build-and-test-interpreters:
- export PATH=$PATH:$PYPY_BIN_DIR

- export SOM_INTERP=BC

- (cd Examples/Benchmarks/TestSuite && ./duplicate-tests.sh)

# Unit Tests
- PYTHONPATH=src python3 -m pytest
- ./som.sh -cp Smalltalk TestSuite/TestHarness.som

# Interpreter
- $RPYTHON --batch src/main_rpython.py
- ./som-bc-interp -cp Smalltalk TestSuite/TestHarness.som
- ./som-bc-interp -cp Smalltalk:TestSuite Examples/Benchmarks/TestSuite/TestTestSuite.som

- export SOM_INTERP=AST

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


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

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

# Package and Upload
- lz4 som-ast-jit som-ast-jit.lz4
Expand Down

0 comments on commit b239f2a

Please sign in to comment.