LP-311 Remove basic/advanced stabilization tab auto-switch (autotune/txpid lock issues)
[librepilot.git] / ground / gcs / src / libs / eigen / test / runtest.sh
blob2be250819fd2243f9c7711198b06a60ddcf2df81
1 #!/bin/bash
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'
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