make sim test output redirect stderr to null too.

This commit is contained in:
Shuduo Sang 2020-06-19 11:08:22 +08:00
parent 1980eceabe
commit 8754b640cd
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ function runSimCaseOneByOne {
while read -r line; do
if [[ $line =~ ^run.* ]]; then
case=`echo $line | awk '{print $NF}'`
./test.sh -f $case > /dev/null && \
./test.sh -f $case > /dev/null 2>&1 && \
echo -e "${GREEN}$case success${NC}" || \
echo -e "${RED}$case failed${NC}" | tee -a out.log
fi