source: soft/giet_vm/memo/test/check.sh

Last change on this file was 173, checked in by karaoui, 12 years ago

Adding BLOB type for vobj.
Don't forget to set as BLOB type the mapping_info vobj in the xml.

  • Property svn:executable set to *
File size: 290 bytes
Line 
1#! /bin/sh
2
3### Debug
4
5#set -x
6#set -e
7
8### Colors
9
10RED="\033[0;31m"
11GREEN="\033[0;32m"
12WHITE="\033[0;37m"
13
14### Code
15
16#TODO
17
18echo -n "Test 1 : "
19
20./memo.x memo.x 2>test1.stderr 1>test1.stdout
21
22if test "1$?" -eq "10"; then
23    echo -e $GREEN "OK" $WHITE
24else
25    echo -e $RED "KO" $WHITE
26fi
Note: See TracBrowser for help on using the repository browser.