Eli Schwartz
22dcb692ad
python module: implicitly add python dep to extensions
...
If there isn't a preexisting dependency on python, append one. It's
almost assuredly needed, so just do the right thing out of the box.
2 years ago
Eli Schwartz
1f46b4ce64
tests: python module should install files correctly
...
- default to python site-packages
- subdir to site-packages/subdir
- arbitrary install_dir
3 years ago
Eli Schwartz
6a0fabc647
mass rewrite of string formatting to use f-strings everywhere
...
performed by running "pyupgrade --py36-plus" and committing the results
4 years ago
Michael Hirsch
c9d8d4628e
simplify/correct test logic
...
before this, tests were being skipped on Ubuntu 20.04 with Anaconda Python
Now, all 5 tests success
4 years ago
Michael Hirsch
895de87b90
some python test cases don't care about backend, so run them in any case
4 years ago
Michael Hirsch
4f1a240bc2
raise SystemExit() generally preferred to sys.exit(1)
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Dylan Baker
978e6fb88f
tests: Add tests for the python module
...
This doesn't touch everything as it's just based on the python3 module
tests, ported to the python module. It's still better than the one very
basic test in the unit test module.
6 years ago