Fix Python environment for distributed unit tests (#3806)

This commit is contained in:
Philip Hyunsu Cho
2018-10-18 00:12:02 -07:00
committed by GitHub
parent b38c636d05
commit 55ee9a92a1
3 changed files with 8 additions and 8 deletions

View File

@@ -1,9 +1,9 @@
#!/bin/bash
echo "====== 1. Basic distributed test with Python ======"
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=3\
PYTHONPATH=../../python-package/ python ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=3\
python test_basic.py
echo "====== 2. Regression test for issue #3402 ======"
PYTHONPATH=../../python-package/ ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=2 --worker-cores=1\
PYTHONPATH=../../python-package/ python ../../dmlc-core/tracker/dmlc-submit --cluster=local --num-workers=2 --worker-cores=1\
python test_issue3402.py