Fix load order, travis obviously different

support files were loaded different locally than travis
probably time stamp, vs abc
Anyway, don't rely on dir order, make requires explicit
This commit is contained in:
Torsten Rüger 2019-09-13 22:06:18 +03:00
parent 1ee01622c3
commit 56398e1127
3 changed files with 8 additions and 1 deletions

View File

@ -24,4 +24,9 @@ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))
require 'rubyx' require 'rubyx'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } require_relative "support/options"
require_relative "support/parfait_test"
require_relative "support/fake_int"
require_relative "support/fake_compiler"
require_relative "support/risc_assert"
require_relative "support/risc_interpreter"

View File

@ -1,3 +1,4 @@
require_relative "preloader"
module ScopeHelper module ScopeHelper

View File

@ -1,6 +1,7 @@
require "util/eventable" require "util/eventable"
require "risc/interpreter" require "risc/interpreter"
require_relative "compiling" require_relative "compiling"
require_relative "output"
module Risc module Risc
module Ticker module Ticker