aboutsummaryrefslogtreecommitdiffstats
path: root/test/racc/case.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/racc/case.rb')
-rw-r--r--test/racc/case.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/racc/case.rb b/test/racc/case.rb
index d917f3a4e4..ebc30b8288 100644
--- a/test/racc/case.rb
+++ b/test/racc/case.rb
@@ -17,6 +17,8 @@ module Racc
TEST_DIR = test_dir
racc = File.join(PROJECT_DIR, 'bin', 'racc')
racc = File.join(PROJECT_DIR, '..', 'libexec', 'racc') unless File.exist?(racc)
+ racc = 'racc' unless File.exist?(racc)
+
RACC = racc
ASSET_DIR = File.join(TEST_DIR, 'assets') # test grammars
REGRESS_DIR = File.join(TEST_DIR, 'regress') # known-good generated outputs