source:
soft/giet_vm/memo/test/check.sh
| Last change on this file was 173, checked in by , 13 years ago | |
|---|---|
|
|
| File size: 290 bytes | |
| Line | |
|---|---|
| 1 | #! /bin/sh |
| 2 | |
| 3 | ### Debug |
| 4 | |
| 5 | #set -x |
| 6 | #set -e |
| 7 | |
| 8 | ### Colors |
| 9 | |
| 10 | RED="\033[0;31m" |
| 11 | GREEN="\033[0;32m" |
| 12 | WHITE="\033[0;37m" |
| 13 | |
| 14 | ### Code |
| 15 | |
| 16 | #TODO |
| 17 | |
| 18 | echo -n "Test 1 : " |
| 19 | |
| 20 | ./memo.x memo.x 2>test1.stderr 1>test1.stdout |
| 21 | |
| 22 | if test "1$?" -eq "10"; then |
| 23 | echo -e $GREEN "OK" $WHITE |
| 24 | else |
| 25 | echo -e $RED "KO" $WHITE |
| 26 | fi |
Note: See TracBrowser
for help on using the repository browser.
![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)