11 Commits

Author SHA1 Message Date
Ghostkeeper
ffd1c5cc09
Run Mypy as normal automated test
This tests all code for good style.

Contributes to issue CURA-5330.
2018-05-04 15:57:06 +02:00
Ruben D
80ba5fc97d
Fix PYTHONPATH pass-through
This makes sure that any pythonpath on the user's environment is also used for these tests. The same fix as here: 31106cd60a
2017-12-30 17:11:11 +01:00
Ruben D
28919a57a4
Fix testing whether tests exist on older CMake
The string equality works on the 3.6 but not on 3.5. This works on 3.5, so I hope it also works on 3.6 (but I don't have that computer with me right now).
2017-12-30 16:58:52 +01:00
Ghostkeeper
cda600f12d
Don't halt build when encountering duplicate tests
I had duplicate tests because multiple plug-ins were interfering with each other. We shouldn't crash on that.

Contributes to issue CURA-4692.
2017-12-29 13:16:52 +01:00
Mark
9a193ad5c5 Changing AGPLv3 to LGPLv3 2017-09-28 13:00:43 +02:00
Jack Ha
260c6e983e Fix passing PYTHONPATH to pytest on Windows 2017-03-16 10:51:53 +01:00
Arjen Hiemstra
0c215331ee PYTHONPATH uses a platform dependent path separator after all 2017-03-15 19:02:37 +01:00
Arjen Hiemstra
04e517eddf Do not hardcode the path to Uranium but use a cache variable
This allows us to override the uranium dir and make sure it is still
found even when it is not the same as "../uranium"
2017-03-15 17:23:54 +01:00
Ghostkeeper
e443993ff2
Fix finding Python and Uranium
Otherwise all tests fail that require UM.
2017-03-14 17:25:31 +01:00
Ghostkeeper
b29ccdc659
Add Uranium to PYTHONPATH for testing
This 'assumes' you have Uranium as a sister-directory next to Cura. This is how it's always been. We should probably change that to a CMake variable some day.
2017-03-13 12:41:59 +01:00
Ghostkeeper
ecc973951e
Support running unit tests for plug-ins 2017-03-13 12:30:47 +01:00