RPython build, which (from exp w/Yolk) I don't expect to work well.
Chris Pressey
1 year, 11 months ago
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
if [ `which rpython`X = X ]; then
|
|
3 |
echo 'RPython not found. Not building. Use CPython instead.'
|
|
4 |
else
|
|
5 |
python `which rpython` src/exanoke.py
|
|
6 |
mkdir -p bin
|
|
7 |
mv exanoke-c bin/
|
|
8 |
fi
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
|
2 | 2 |
APPLIANCES="tests/appliances/exanoke.py.md"
|
|
3 |
if [ -x bin/exanoke-c ]; then
|
|
4 |
APPLIANCES="$APPLIANCES tests/appliances/exanoke-c.md"
|
|
5 |
fi
|
3 | 6 |
|
4 | 7 |
falderal $APPLIANCES README.md
|
|
0 |
This Falderal appliance tests the compiled-with-RPython version of the Exanoke
|
|
1 |
reference interpreter.
|
|
2 |
|
|
3 |
This requires `fa-under-pty`, which is a part of Falderal since version 0.10.
|
|
4 |
|
|
5 |
It requires `fa-under-pty` because, for whatever reason, executables produced
|
|
6 |
by RPython from PyPy version 7.3.5 do not handle having their stdout redirected
|
|
7 |
very well. Specifically, they dump core. It is for this very reason that
|
|
8 |
`fa-under-pty` was written, in fact.
|
|
9 |
|
|
10 |
-> Functionality "Evaluate Exanoke program" is implemented by
|
|
11 |
-> shell command
|
|
12 |
-> "fa-under-pty ./bin/exanoke-c %(test-body-file)"
|
|
13 |
|