ruby-changes:56146
From: Hiroshi <ko1@a...>
Date: Wed, 19 Jun 2019 18:37:25 +0900 (JST)
Subject: [ruby-changes:56146] Hiroshi SHIBATA: c110b59af5 (trunk): Fixed path for ruby core repository.
https://git.ruby-lang.org/ruby.git/commit/?id=c110b59af5 From c110b59af5d1b1065c9e247260579e6212cb7fab Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Tue, 14 May 2019 21:18:57 +0900 Subject: Fixed path for ruby core repository. diff --git a/test/racc/helper.rb b/test/racc/helper.rb index 6e990f5..1eaa7ed 100644 --- a/test/racc/helper.rb +++ b/test/racc/helper.rb @@ -9,9 +9,12 @@ module Racc https://github.com/ruby/ruby/blob/trunk/test/racc/helper.rb#L9 class TestCase < MiniTest::Unit::TestCase PROJECT_DIR = File.expand_path(File.join(File.dirname(__FILE__), '..')) - TEST_DIR = File.join(PROJECT_DIR, 'test') - - RACC = File.join(PROJECT_DIR, 'bin', 'racc') + test_dir = File.join(PROJECT_DIR, 'test') + test_dir = File.join(PROJECT_DIR, 'racc') unless File.exist?(test_dir) + TEST_DIR = test_dir + racc = File.join(PROJECT_DIR, 'bin', 'racc') + racc = File.join(PROJECT_DIR, '..', 'libexec', 'racc') unless File.exist?(racc) + RACC = racc OUT_DIR = File.join(TEST_DIR, 'out') TAB_DIR = File.join(TEST_DIR, 'tab') # generated parsers go here LOG_DIR = File.join(TEST_DIR, 'log') -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/