-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# match line starting with 'error ', case-insensitive | ||
error /(?i)^error / | ||
|
||
# list of warnings here... | ||
warning /[Ww]arning/ | ||
warning /WARNING/ | ||
|
||
# create a quick access link to lines in the report containing 'INFO' | ||
info /INFO/ | ||
|
||
# each line containing 'BUILD' represents the start of a section for grouping errors and warnings found after the line. | ||
# also creates a quick access link. | ||
start /BUILD/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
echo "BUILD make" | ||
cp make/config.mk . | ||
echo "USE_CUDA=1" >> config.mk | ||
echo "USE_CUDA_PATH=/usr/local/cuda" >> config.mk | ||
echo "USE_CUDNN=1" >> config.mk | ||
make -j 4 || exit -1 | ||
|
||
echo "BUILD lint" | ||
make lint || exit -1 | ||
|
||
echo "BUILD cpp_test" | ||
make -j 4 test || exit -1 | ||
export MXNET_ENGINE_INFO=true | ||
for test in tests/cpp/*_test; do | ||
./$test || exit -1 | ||
done | ||
export MXNET_ENGINE_INFO=false | ||
|
||
echo "BUILD python_test" | ||
nosetests --verbose tests/python/unittest || exit -1 | ||
nosetests --verbose tests/python/gpu/test_operator_gpu.py || exit -1 | ||
nosetests --verbose tests/python/train || exit -1 | ||
|
||
echo "BUILD python3_test" | ||
nosetests3 --verbose tests/python/unittest || exit -1 | ||
nosetests3 --verbose tests/python/gpu/test_operator_gpu.py || exit -1 | ||
nosetests3 --verbose tests/python/train || exit -1 | ||
|
||
# echo "BUILD julia_test" | ||
# export PATH="${PATH}:${HOME}/julia/bin" | ||
# export MXNET_HOME="${PWD}" | ||
# julia -e 'Pkg.clone("MXNet"); Pkg.checkout("MXNet"); Pkg.build("MXNet"); Pkg.test("MXNet")' || exit -1 |