Unit test do not work with Anaconda/Python3 on Ubuntu (WSL) #82
Replies: 10 comments
-
Not sure offhand about the release issue. In terms of the python3 issue have you installed Anaconda into WSL/Ubuntu or have you installed it into Windows? I've done all my Jsbsim python testing in Windows using VS2017's built in CMake support. |
Beta Was this translation helpful? Give feedback.
-
I have Anaconda into WSL/Ubuntu. This is my Ubuntu version: > lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial This is my Anaconda: > conda info
active environment : None
user config file : /home/agodemar/.condarc
populated config files :
conda version : 4.5.4
conda-build version : 3.4.1
python version : 3.6.4.final.0
base environment : /home/agodemar/anaconda3 (writable)
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /home/agodemar/anaconda3/pkgs
/home/agodemar/.conda/pkgs
envs directories : /home/agodemar/anaconda3/envs
/home/agodemar/.conda/envs
platform : linux-64
user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.4 Linux/4.4.0-17134-Microsoft ubuntu/16.04 glibc/2.23
UID:GID : 1000:1000
netrc file : None
offline mode : False |
Beta Was this translation helpful? Give feedback.
-
The module |
Beta Was this translation helpful? Give feedback.
-
And BTW these unit tests were on my drive for years. The move to Travis and AppVeyor CI made me take the plunge. |
Beta Was this translation helpful? Give feedback.
-
@bcoconni I was wondering how come you added these. Wasn't sure if it was because of some specific limitation with the Python test setup. |
Beta Was this translation helpful? Give feedback.
-
The idea was to have a pure C++ unit test suite in addition to the Python test suite which is more an integration test suite in my view. |
Beta Was this translation helpful? Give feedback.
-
Okay in terms of using CxxTest on AppVeyor it looks like we either need to get it installed or at least configured. From the latest AppVeyor build:
|
Beta Was this translation helpful? Give feedback.
-
@agodemar Lines 23 to 29 in 574f855 @seanmcleod
This is now fixed since commit eecc318 |
Beta Was this translation helpful? Give feedback.
-
@bcoconni |
Beta Was this translation helpful? Give feedback.
-
This issue has been moved to "Discussions". Now that this new feature is available in GitHub, it has been decided to move issues related to support requests and questions to "Discussions" and restrict "Issues" to bugs and feature requests. |
Beta Was this translation helpful? Give feedback.
-
I generate makefiles for JSBSim with CMake on ubuntu within my WSL (Windows System for Linux) box on Windows. I have Anaconda installed with Python 3.6.4.
This is what I do:
Beta Was this translation helpful? Give feedback.
All reactions