repo.or.cz
/
librepilot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git]
/
ground
/
gcs
/
src
/
libs
/
eigen
/
test
/
runtest.sh
blob
2be250819fd2243f9c7711198b06a60ddcf2df81
1
#!/bin/bash
2
3
black
=
'\E[30m'
4
red
=
'\E[31m'
5
green
=
'\E[32m'
6
yellow
=
'\E[33m'
7
blue
=
'\E[34m'
8
magenta
=
'\E[35m'
9
cyan
=
'\E[36m'
10
white
=
'\E[37m'
11
12
if
!
.
/
$1
> /
dev
/
null
2
>
.runtest.log
;
then
13
echo -e
$red
Test
$1
failed
:
$black
14
echo -e
$blue
15
cat
.runtest.log
16
echo -e
$black
17
exit
1
18
else
19
echo -e
$green
Test
$1
passed
$black
20
fi