git @ Cat's Eye Technologies ZOWIE / 9581c79
Build and test under RPython if RPython is detected. Chris Pressey 7 years ago
4 changed file(s) with 24 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 #!/bin/sh
1
2 if [ `which rpython`X = X ]; then
3 echo 'RPython not found. Not building. Use CPython or Skulpt instead.'
4 else
5 rpython src/zowie.py
6 fi
00 #!/bin/sh
11
2 falderal --substring-error tests/ZOWIE.markdown
2 RPYTHON_FIXTURE=''
3 if [ ! `which rpython`X = X ]; then
4 if [ `which under-pty`X = X ]; then
5 echo 'Need the under-pty utility to propertly test rpython-compiled version.'
6 exit 1
7 fi
8 RPYTHON_FIXTURE='tests/rpython-fixture.markdown'
9 if [ ! -e ./zowie-c ]; then
10 ./build.sh || exit $?
11 fi
12 fi
13
14 falderal --substring-error $RPYTHON_FIXTURE tests/ZOWIE.markdown
55 -> Functionality "Interpret ZOWIE Program" is implemented by
66 -> shell command
77 -> "python src/zowie.py %(test-body-file)"
8
9 -> Functionality "Interpret ZOWIE Program" is implemented by
10 -> shell command
11 -> "./zowie-c %(test-body-file)"
128
139 Display the Roman alphabet in reverse.
1410
0 -> Functionality "Interpret ZOWIE Program" is implemented by
1 -> shell command
2 -> "under-pty ./zowie-c %(test-body-file)"
3