make valgrind.sh take -g as default.

This commit is contained in:
Shuduo Sang 2020-05-17 19:17:45 +08:00
parent 7f4742ba97
commit 094d21c9ab
2 changed files with 33 additions and 33 deletions

View File

@ -50,7 +50,7 @@ matrix:
./test-all.sh $TRAVIS_EVENT_TYPE || travis_terminate $? ./test-all.sh $TRAVIS_EVENT_TYPE || travis_terminate $?
cd ${TRAVIS_BUILD_DIR}/tests/pytest cd ${TRAVIS_BUILD_DIR}/tests/pytest
./valgrind-test.sh -g 2>&1 > mem-error-out.txt ./valgrind-test.sh 2>&1 > mem-error-out.txt
sleep 1 sleep 1
# Color setting # Color setting

View File

@ -1,35 +1,35 @@
#!/bin/bash #!/bin/bash
python3 ./test.py $1 -f insert/basic.py python3 ./test.py -g -f insert/basic.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/int.py python3 ./test.py -g -f insert/int.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/float.py python3 ./test.py -g -f insert/float.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/bigint.py python3 ./test.py -g -f insert/bigint.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/bool.py python3 ./test.py -g -f insert/bool.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/double.py python3 ./test.py -g -f insert/double.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/smallint.py python3 ./test.py -g -f insert/smallint.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/tinyint.py python3 ./test.py -g -f insert/tinyint.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/binary.py python3 ./test.py -g -f insert/binary.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/date.py python3 ./test.py -g -f insert/date.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/nchar.py python3 ./test.py -g -f insert/nchar.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f insert/multi.py python3 ./test.py -g -f insert/multi.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f table/column_name.py python3 ./test.py -g -f table/column_name.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f table/column_num.py python3 ./test.py -g -f table/column_num.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f table/db_table.py python3 ./test.py -g -f table/db_table.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1
python3 ./test.py $1 -f import_merge/importDataLastSub.py python3 ./test.py -g -f import_merge/importDataLastSub.py
python3 ./test.py $1 -s && sleep 1 python3 ./test.py -g -s && sleep 1