source:
pacpussensors/trunk/Vislab/lib3dv/eigen/test/runtest.sh@
140
Last change on this file since 140 was 136, checked in by , 8 years ago | |
---|---|
File size: 322 bytes |
Line | |
---|---|
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 |
Note:
See TracBrowser
for help on using the repository browser.