summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2022-11-07 14:14:22 +0100
committerPicca Frédéric-Emmanuel <picca@debian.org>2022-11-07 14:14:22 +0100
commit0199860899a7373ae305044ec2d5e41cd1d1103a (patch)
tree2eb857fa8b398e5bf96d27e229fa40a6eb9a0357
parentb7d865d5caad7e5dd585fec02dac23c04c2e053f (diff)
do not run the test whcih use lot's of memory
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/tests/control2
2 files changed, 2 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index 102b28c..0f9a149 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,6 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
export PYBUILD_NAME=silx
-#export PYBUILD_TEST_ARGS=silx
-#-k "not histo_big_array"
export SPECFILE_USE_GNU_SOURCE=1
export SILX_FULL_INSTALL_REQUIRES=1
@@ -54,7 +52,7 @@ execute_before_dh_install:
# WITH_QT_TEST=False to disable graphical tests
# SILX_OPENCL=False to disable OpenCL tests
-# SILX_TEST_LOW_MEM=True to disable tests taking large amount of memory
+# SILX_TEST_LOW_MEM=False to disable tests taking large amount of memory
# GPU=False to disable the use of a GPU with OpenCL test
# WITH_GL_TEST=False to disable tests using OpenGL
override_dh_auto_test:
diff --git a/debian/tests/control b/debian/tests/control
index c77fbe8..e5d15e1 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -2,7 +2,7 @@ Test-Command: set -efu
; for py in $(py3versions -r 2>/dev/null)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
- ; xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import sys; import silx.test; sys.exit(silx.test.run_tests())" 2>&1
+ ; TEST_LOW_MEM=False xvfb-run -a --server-args="-screen 0 1024x768x24" $py -c "import sys; import silx.test; sys.exit(silx.test.run_tests())" 2>&1
; done
Depends:
@,