xgboost/tests/ci_build/test_gpu.sh
Philip Hyunsu Cho b50bc2c1d4
Add multi-GPU unit test environment (#3741)
* Add multi-GPU unit test environment

* Better assertion message

* Temporarily disable failing test

* Distinguish between multi-GPU and single-GPU CPP tests

* Consolidate Python tests. Use attributes to distinguish multi-GPU Python tests from single-CPU counterparts
2018-09-29 11:20:58 -07:00

10 lines
199 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd python-package
python setup.py install --user
cd ..
python -m nose -v --eval-attr='(not slow) and (not mgpu)' tests/python-gpu/
./testxgboost --gtest_filter=-*.MGPU_*