Skip to content
This repository has been archived by the owner on Jun 7, 2020. It is now read-only.

Commit

Permalink
Update reference interpreter (and fix corresponding test), bumb version
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 21, 2017
1 parent 165cd22 commit 5d97233
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
Binary file modified ifj2017/bin/linux/ic17int
Binary file not shown.
Binary file modified ifj2017/bin/windows/ic17int.exe
Binary file not shown.
3 changes: 1 addition & 2 deletions ifj2017/tests/01_basic/28.stdout
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ahoj
ahoj
ahojahoj
2 changes: 1 addition & 1 deletion ifj2017/tests/06_loops/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"tests": [
{
"name": "01",
"stdout": " 25.54 22.25 18.96 15.67 12.38 9.09 5.8 2.51-0.779999-4.07-7.36-10.65-13.94-17.23-20.52-23.81"
"stdout": " 25.54 22.25 18.96 15.67 12.38 9.09 5.8 2.51-0.78-4.07-7.36-10.65-13.94-17.23-20.52-23.81"
},
{
"name": "02",
Expand Down
4 changes: 4 additions & 0 deletions ifj2017/tests/66_errors/tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"name": "12",
"compiler_exit_code": 3
},
{
"name": "18",
"compiler_exit_code": 3
},
{
"name": "13",
"compiler_exit_code": 3
Expand Down
8 changes: 4 additions & 4 deletions setup.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8


import sys
from distutils import core
from os.path import abspath, dirname, join
Expand All @@ -12,8 +12,8 @@
__credits__ = ["Josef Kolář", "Son Hai Nguyen"]
__license__ = "GNU GPL Version 3"

if sys.version_info[0] < 3:
print('Run in python3 please.', file=sys.stderr)
if sys.version_info < (3, 5):
print('Run in python >= 3.5 please.', file=sys.stderr)
exit(1)

base_path = abspath(dirname(__file__))
Expand All @@ -32,7 +32,7 @@
def setup():
core.setup(
name='IFJcode17-toolkit',
version='1.1.7',
version='1.1.8',
license='GNU GENERAL PUBLIC LICENSE Version 3',
description='Toolkit for IFJ17 language compiler (as project at FIT BUT in Brno) with '
'interactive debugger and automatic tests.',
Expand Down

0 comments on commit 5d97233

Please sign in to comment.