Skip to content

Commit f123be6

Browse files
committed
Started specification with spec of integer addition and subtraction
Signed-off-by: Stefan Marr <[email protected]>
1 parent 32193cb commit f123be6

File tree

5 files changed

+24366
-4
lines changed

5 files changed

+24366
-4
lines changed

.travis.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ jobs:
6666
name: ykSOM
6767
dist: bionic
6868
rust: [nightly]
69-
env: REPO=yksom.git BUILD="cargo build" SOM="cargo run -- " SOM_TESTS="--cp ../Smalltalk ../TestSuite/TestHarness.som"
69+
env: REPO=yksom.git BUILD="cargo build" SOM="cargo run -- " SOM_TESTS="--cp ../Smalltalk ../TestSuite/TestHarness.som" SOM_SPECS="--cp ../Smalltalk:../TestSuite:../specification/executable_specs ../specification/executable_specs/AllSpecs.som"
7070

7171

72-
allow_failures:
72+
# allow_failures:
7373
# - env: SOM=JsSOM REPO=JsSOM.git BUILD=make SOM=./som.sh
74-
- env: SOM=PySOM REPO=PySOM.git BUILD="" SOM=./som.sh PYTHON=python
75-
- env: SOM=RPySOM REPO=RPySOM.git BUILD="" SOM=./som.sh PYTHON=python
74+
# - env: SOM=PySOM REPO=PySOM.git BUILD="" SOM=./som.sh PYTHON=python
7675

7776
install:
7877
- |
@@ -119,4 +118,13 @@ script:
119118
120119
echo "$SOM $SOM_TESTS"
121120
eval "$SOM $SOM_TESTS"
121+
122+
echo Run Specs
123+
if [ "$SOM_SPECS" == "" ]
124+
then
125+
export SOM_SPECS="-cp ../Smalltalk:../TestSuite:../specification/executable_specs AllSpecs"
126+
fi
127+
128+
echo "$SOM $SOM_SPECS"
129+
eval "$SOM $SOM_SPECS"
122130
fi
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
AllSpecs = TestHarness (
2+
tests = (
3+
| l1 |
4+
l1 := Vector new.
5+
l1 append: IntSpec.
6+
^ l1
7+
)
8+
9+
)

0 commit comments

Comments
 (0)