Skip to content

Commit

Permalink
Merge pull request #194 from enebo/jruby_racc_find
Browse files Browse the repository at this point in the history
Make racc test more flexible (for JRuby).
  • Loading branch information
flavorjones committed Nov 10, 2022
2 parents a4c1426 + b74ce5e commit f3c551c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/case.rb
Expand Up @@ -17,6 +17,8 @@ class TestCase < Test::Unit::TestCase
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
Expand Down

0 comments on commit f3c551c

Please sign in to comment.