add mt
This commit is contained in:
6
run.sh
6
run.sh
@@ -11,17 +11,17 @@ run() {
|
||||
|
||||
# run test [name_test]
|
||||
# example: run test pattrens
|
||||
if [ $1 = "test" ]; then
|
||||
if [[ "$1" == "test" ]]; then
|
||||
echo ""
|
||||
meson test $2 -C build
|
||||
echo ""
|
||||
awk '/^-------------------------------------------------------------------------------/{flag=1} /===============================================================================/{flag=0} flag' ./build/meson-logs/testlog.txt
|
||||
elif [ $1 = "tests" ]; then
|
||||
elif [[ "$1" == "tests" ]]; then
|
||||
echo ""
|
||||
meson test -C build
|
||||
echo ""
|
||||
# awk '/^-------------------------------------------------------------------------------/{flag=1} /===============================================================================/{flag=0} flag' ./build/meson-logs/testlog.txt
|
||||
elif [ -d "build" ]; then
|
||||
elif [[ -d "build" ]]; then
|
||||
run
|
||||
else
|
||||
command meson setup build
|
||||
|
||||
Reference in New Issue
Block a user