Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
ef046788
Commit
ef046788
authored
Jun 09, 2021
by
LDOUBLEV
Browse files
rename save_log
parent
95ae3c19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
test/infer.sh
test/infer.sh
+3
-3
No files found.
test/infer.sh
View file @
ef046788
...
@@ -34,11 +34,11 @@ function status_check(){
...
@@ -34,11 +34,11 @@ function status_check(){
last_status
=
$1
# the exit code
last_status
=
$1
# the exit code
run_model
=
$2
run_model
=
$2
run_command
=
$3
run_command
=
$3
save
_log
=
$4
run
_log
=
$4
if
[
$last_status
-eq
0
]
;
then
if
[
$last_status
-eq
0
]
;
then
echo
-e
"
\0
33[33m
$run_model
successfully with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
save
_log
}
echo
-e
"
\0
33[33m
$run_model
successfully with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
run
_log
}
else
else
echo
-e
"
\0
33[33m
$case
failed with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
save
_log
}
echo
-e
"
\0
33[33m
$case
failed with command -
${
run_command
}
!
\0
33[0m"
|
tee
-a
${
run
_log
}
fi
fi
}
}
IFS
=
'|'
IFS
=
'|'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment