Eli Schwartz
6a1427401c
tests: add a python test for bytecode compilation
...
Some tweaks are added to the test case so that it supports python2 as
well.
2 years ago
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
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
Jussi Pakkanen
68f669bd2b
Condense test dirs.
6 years ago
Jussi Pakkanen
972535a6ac
Condense test dirs.
6 years ago
Jussi Pakkanen
17bfbb99e5
Condense test dirs.
6 years ago
Nirbheek Chauhan
575ffec62e
python module: Move tests to test cases/unit
...
The tests are only run via unit tests, so that's where they should be.
7 years ago
Mathieu Duponchelle
e1b138a21b
Implement a generic python module
...
With contributions from Håvard Graff
7 years ago