source: pacpussensors/trunk/Vislab/lib3dv-1.2.0/lib3dv/eigen/test/runtest.sh

Last change on this file was 136, checked in by ldecherf, 8 years ago

Doc

File size: 322 bytes
Line 
1#!/bin/bash
2
3black='\E[30m'
4red='\E[31m'
5green='\E[32m'
6yellow='\E[33m'
7blue='\E[34m'
8magenta='\E[35m'
9cyan='\E[36m'
10white='\E[37m'
11
12if ! ./$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
18else
19echo -e $green Test $1 passed$black
20fi
Note: See TracBrowser for help on using the repository browser.