Tests broken on OSX with case-sensitive filesystem
My OSX runs on a case-sensitive HFS+ filesystem (not the default, which is case-folding), and testing (and installing with tests) fails with the error:
Downloading archive for testsimple
Extracting...
Testing testsimple...
Could not execute (Praat /Users/ingmar/Library/Preferences/Praat Prefs/plugin_testsimple/t/01.no_plan.t): open3: exec of Praat /Users/ingmar/Library/Preferences/Praat Prefs/plugin_testsimple/t/01.no_plan.t failed at /Users/ingmar/perl5/perlbrew/perls/perl-5.23.1/lib/5.23.1/TAP/Parser/Iterator/Process.pm line 165.
For portability of scripts that invoke praat on Linux and OSX, I'd previously created an alias or symlink pointing to /Applications/Praat.app/Contents/MacOS/Praat
called praat
(note the lower-case p
). There have been various similar instructions floating around, such as this one.
Fortunately, I made sure a while back that the cask for Praat has a stanza that creates the symlink automatically in a location that's already on the path and Homebrew-controlled:
$ brew cask install praat
==> Downloading http://www.fon.hum.uva.nl/praat/praat5415_mac64.dmg
==> Symlinking App 'Praat.app' to '/Users/ingmar/Applications/Praat.app'
==> Symlinking Binary 'Praat' to '/usr/local/bin/praat'
🍺 praat staged at '/opt/homebrew-cask/Caskroom/praat/5.4.15' (5 files, 22M)
Anyway, the name of the Praat binary on OSX should be praat
just like on Linux. And users on the default, case-insensitive HFS+ won't even know the difference.