forked from mindspore-Ecosystem/mindspore
!25866 [MS][LITE][develop] fix cmake install prefix and delete useless ut
Merge pull request !25866 from sunsuodong/add_coverage_option
This commit is contained in:
commit
eff89357a7
|
@ -132,7 +132,7 @@ build_lite() {
|
|||
cd ${BASEPATH}/mindspore/lite/build
|
||||
write_commit_file
|
||||
|
||||
LITE_CMAKE_ARGS="${LITE_CMAKE_ARGS} -DENABLE_ASAN=${ENABLE_ASAN} -DCMAKE_INSTALL_PREFIX=${BUILD_PATH}/output/tmp"
|
||||
LITE_CMAKE_ARGS="${LITE_CMAKE_ARGS} -DENABLE_ASAN=${ENABLE_ASAN} -DCMAKE_INSTALL_PREFIX=${BASEPATH}/output/tmp"
|
||||
|
||||
if [[ "$(uname)" == "Darwin" && "${local_lite_platform}" != "x86_64" ]]; then
|
||||
LITE_CMAKE_ARGS=`echo $LITE_CMAKE_ARGS | sed 's/-DCMAKE_BUILD_TYPE=Debug/-DCMAKE_BUILD_TYPE=Release/g'`
|
||||
|
|
|
@ -45,25 +45,6 @@ echo 'run common ut tests'
|
|||
## ./lite-test --gtest_filter=TestPadInt8.*
|
||||
./lite-test --gtest_filter=TestDeconvInt8.*
|
||||
|
||||
# test cases of GPU OpenCL
|
||||
./lite-test --gtest_filter="TestConvolutionOpenCL.simple_test*"
|
||||
./lite-test --gtest_filter="TestArithmeticSelfOpenCLCI.ArithmeticSelfRound*"
|
||||
./lite-test --gtest_filter="TestConcatOpenCLCI.ConcatFp32_2inputforCI*"
|
||||
./lite-test --gtest_filter="TestSliceOpenCLfp32.Slicefp32CI*"
|
||||
./lite-test --gtest_filter="TestBatchnormOpenCLCI.Batchnormfp32CI*"
|
||||
./lite-test --gtest_filter="TestAvgPoolingOpenCL*"
|
||||
./lite-test --gtest_filter="TestConv2dTransposeOpenCL*"
|
||||
./lite-test --gtest_filter="TestMatMulOpenCL*"
|
||||
./lite-test --gtest_filter="TestMaxPoolingOpenCL*"
|
||||
./lite-test --gtest_filter="TestReduceOpenCL*"
|
||||
./lite-test --gtest_filter="TestReshapeOpenCL*"
|
||||
./lite-test --gtest_filter="TestSoftmaxOpenCL*"
|
||||
./lite-test --gtest_filter="TestTransposeOpenCL*"
|
||||
./lite-test --gtest_filter="TestArithmeticOpenCL*"
|
||||
./lite-test --gtest_filter="TestScaleOpenCL*"
|
||||
./lite-test --gtest_filter="TestFullConnectionOpenCL*"
|
||||
./lite-test --gtest_filter="TestResizeOpenCL*"
|
||||
./lite-test --gtest_filter="TestSwishOpenCLCI.Fp32CI"
|
||||
./lite-test --gtest_filter="ModelParserRegistryTest.TestRegistry"
|
||||
./lite-test --gtest_filter="NodeParserRegistryTest.TestRegistry"
|
||||
./lite-test --gtest_filter="PassRegistryTest.TestRegistry"
|
||||
|
|
Loading…
Reference in New Issue