18 lines
255 B
Bash
Executable File
18 lines
255 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd `dirname $0`
|
|
echo '-------build unit test----------'
|
|
|
|
UT_BUILD_DIR=ut_build
|
|
rm -rf $UT_BUILD_DIR
|
|
mkdir $UT_BUILD_DIR
|
|
cd $UT_BUILD_DIR
|
|
cmake ..
|
|
make core_ut
|
|
make httpserver_for_ut
|
|
|
|
echo '------- run unit test -----------'
|
|
|
|
ctest --verbose
|
|
|