Permalink
Browse files

FIX: fix rseed in rules not to FTBFS due to randomness

  • Loading branch information...
1 parent 2e4c7d2 commit 6695a63db239e10df3970195cbc7fc8b9f7ff6f9 @otizonaizit otizonaizit committed Apr 17, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 debian/rules
View
4 debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
#DH_VERBOSE=1
+RSEED:=1029384756
+
PYTHON2:=$(shell pyversions -vr)
# Check if python3-numpy is available
@@ -32,7 +34,7 @@ override_dh_auto_install:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
set -xe && for v in $(PYTHONALL); do \
LOC=$(INSTALLPATH)$(call py_libdir_sh, $$v); \
- python$$v $$LOC/mdp/test/run_tests.py $$LOC/mdp $$LOC/bimdp; \
+ python$$v $$LOC/mdp/test/run_tests.py --seed $(RSEED) $$LOC/mdp $$LOC/bimdp; \
done
: # Prune compiled code which could have been generated during testing
find \( -name __pycache__ -o -name \*.pyc -o -name \*.egg-info \) -delete

0 comments on commit 6695a63

Please sign in to comment.