Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0c009dad authored by hhakim's avatar hhakim
Browse files

Avoid plotting faust time for py wrapper test when we are in test env. (with no display).

parent 9adedc42
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ ctest:
ctest_python:
<<: *ctest_script
variables: {BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "OFF"}
variables: {BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "OFF", DONT_PYPLOT_FAUST_TIME: "ON", GIT_STRATEGY: none}
except:
- schedules
stage: test_wrapper
......@@ -29,7 +29,7 @@ ctest_matlab:
.ctest_nightly: &ctest_nightly_script
<<: *ctest_script
variables: {BUILD_WRAPPER_MATLAB: "ON", BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "ON"}
variables: {BUILD_WRAPPER_MATLAB: "ON", BUILD_WRAPPER_PYTHON: "ON", SLOW_TESTS: "ON", DONT_PYPLOT_FAUST_TIME: "ON"}
only:
- schedules
......
......@@ -36,6 +36,7 @@
# test multiplication time
import sys
import os
if len(sys.argv) != 3 :
raise ValueError('test_pyFaust.py : invalid number of input arguments')
......@@ -227,7 +228,7 @@ print("t_dense :"+str(t_dense.shape))
if(plotlib_present):
if(plotlib_present and not "DONT_PYPLOT_FAUST_TIME" in os.environ):
print("saving figure in "+FigPath)
tickness=4
size_font=18
......@@ -257,4 +258,4 @@ if(plotlib_present):
print("*********************************")
#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment