clearer organization for compiler tests

was slightly messy with small/large
now needed different test for expression and statements
This commit is contained in:
Torsten Ruger 2015-10-14 21:49:05 +03:00
parent 0c8be466df
commit 2094101bb2
21 changed files with 11 additions and 8 deletions

View File

@ -1,4 +1,4 @@
require_relative '../helper'
require_relative '../../helper'
require 'parslet/convenience'
Phisol::Compiler.class_eval do

View File

@ -0,0 +1,4 @@
require_relative "test_basic"
require_relative "test_call"
require_relative "test_field_access"
require_relative "test_function"

View File

@ -1,4 +1,4 @@
require_relative '../helper'
require_relative '../../helper'
# simple tests to check parsing pworks and the first classes come out right.
#

View File

View File

@ -1,4 +1,5 @@
require_relative "test_basic"
require_relative "test_call"
require_relative "test_field_access"
require_relative "test_function"
require_relative "expressions/test_all"
require_relative "statements/test_all"
require_relative "fragments/test_all"

View File

@ -4,8 +4,6 @@ require_relative "elf/test_all"
require_relative "parfait/test_all"
require_relative "fragments/test_all"
require_relative "virtual/test_all"
require_relative "interpreter/test_all"