Commit b5bd923a by Tianqi Chen Committed by GitHub

Try fix cpp topi test (#871)

* Try fix cpp topi test

* move cpp test to another stage

* update
parent 50e9d327
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
// tvm libraries // tvm libraries
tvm_runtime = "lib/libtvm_runtime.so, config.mk" tvm_runtime = "lib/libtvm_runtime.so, config.mk"
tvm_lib = "lib/libtvm.so, " + tvm_runtime tvm_lib = "lib/libtvm.so " + tvm_runtime
// LLVM upstream lib // LLVM upstream lib
tvm_multilib = "lib/libtvm_llvm40.so, lib/libtvm_llvm50.so, lib/libtvm_llvm60.so, " + tvm_runtime tvm_multilib = "lib/libtvm_llvm40.so, lib/libtvm_llvm50.so, lib/libtvm_llvm60.so, lib/libtvm_topi.so, " + tvm_runtime
// command to start a docker container // command to start a docker container
docker_run = 'tests/ci_build/ci_build.sh' docker_run = 'tests/ci_build/ci_build.sh'
...@@ -224,9 +224,6 @@ stage('Unit Test') { ...@@ -224,9 +224,6 @@ stage('Unit Test') {
timeout(time: max_time, unit: 'MINUTES') { timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} cpu ./tests/scripts/task_cpp_unittest.sh" sh "${docker_run} cpu ./tests/scripts/task_cpp_unittest.sh"
} }
timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} cpu ./tests/scripts/task_cpp_topi.sh"
}
} }
} }
}, },
...@@ -254,6 +251,7 @@ stage('Integration Test') { ...@@ -254,6 +251,7 @@ stage('Integration Test') {
timeout(time: max_time, unit: 'MINUTES') { timeout(time: max_time, unit: 'MINUTES') {
sh "${docker_run} gpu ./tests/scripts/task_python_integration.sh" sh "${docker_run} gpu ./tests/scripts/task_python_integration.sh"
sh "${docker_run} gpu ./tests/scripts/task_python_topi.sh" sh "${docker_run} gpu ./tests/scripts/task_python_topi.sh"
sh "${docker_run} gpu ./tests/scripts/task_cpp_topi.sh"
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment