Skip to content
Snippets Groups Projects
Commit e2d90a94 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Use nodisplay option when performing tests (linux only).

parent 9f5f4b69
Branches
Tags
No related merge requests found
Pipeline #2350 passed
......@@ -22,7 +22,13 @@ AC_REQUIRE([AX_MATLAB_ARCH])
AC_REQUIRE([AX_MATLAB_VERSION])
AX_COMPARE_VERSION([$MATLAB_VERSION], [ge], [9.6],
[MATLAB_BATCH_OPTIONS='-noFigureWindows -batch'],
[
if test "${MATLAB_ARCH}" = win32 -o "${MATLAB_ARCH}" = win64; then
MATLAB_BATCH_OPTIONS='-noFigureWindows -batch'
else
MATLAB_BATCH_OPTIONS='-nodisplay -batch'
fi
],
[
if test "${MATLAB_ARCH}" = win32 -o "${MATLAB_ARCH}" = win64; then
MATLAB_BATCH_OPTIONS='-nosplash -automation -wait -sd "$(CURDIR)" -r'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment