ThrowTheSwitch / Unity

Simple Unit Testing for C
ThrowTheSwitch.org
MIT License
4.02k stars 969 forks source link

Switch to `#!/usr/bin/env ruby` #720

Open pierre-24 opened 6 months ago

pierre-24 commented 6 months ago

If, for some reasons, there is no /usr/bin/ruby (... Because it is located somewhere else), then auto-generation of tests with generate_test_runner.rb (used directly as an executable) fails because of `#!/usr/bin/ruby. Thus, I propose to use #!/usr/bin/env ruby instead :)

More context for those interested: on a supercomputer, more or less nothing (except the very basic commands) is at its standard location, but rather loaded on the fly using modules ;)