blissc
blissc copied to clipboard
Fail on make test
The compiler seems to build ok, but fails on tests:
make check
Making check in tests
make[1]: Entering directory '/home/drifter/dev/blissc/tests'
../blissc --library -o testharness.lib ../tests/testharness.req
python "../tests/runtests.py" --blissc="../blissc" --cc="cc" "../tests"
File "../tests/runtests.py", line 29
**print "Processing: {}".format(testfile)
^
SyntaxError: invalid syntax**
make[1]: *** [Makefile:17: check] Error 1
make[1]: Leaving directory '/home/drifter/dev/blissc/tests'
make: *** [Makefile:948: check-recursive] Error 1
The test driver script is python 2, and I'll bet your default python is python 3. Try changing the she-bang line at the top of runtests.py
to use python2
instead of plain python
(assuming you have Python 2 installed on your system).