yoshizow / global-pygments-plugin

[DEPRECATED] Pygments Plug-in Parser for GNU GLOBAL
Other
66 stars 16 forks source link

Generate test/ctags_stub.py with automake #3

Closed nathantypanski closed 10 years ago

nathantypanski commented 10 years ago

Even since 4632629 (Detect python executable path for tests too.) the test suite failed to pass on systems where python3 is the default executable for "python". This happened because test/ctags_stub.py would still use the default of /usr/bin/python3, since environment variable updates were only present during the config/make stages.

This changes test/ctags_stub.py to have an autogenerated shebang (#!) line using automake. It resolves build issues by forcing use of the python version chosen during configure regardless of the python environment variable chosen at runtime.


Let me know if there's anything else you'd like to see with these changes. I'm very appreciative of your work on #2 to help create clean builds across systems. :+1:

yoshizow commented 10 years ago

Thank you for your kind support. Merged.