~ubuntu-branches/ubuntu/quantal/astk/quantal

« back to all changes in this revision

Viewing changes to ASTK_SERV/unittest/client/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Trophime
  • Date: 2010-04-25 16:43:13 UTC
  • Revision ID: james.westby@ubuntu.com-20100425164313-0s0wtsmbiewbdz53
Tags: upstream-1.8.0
ImportĀ upstreamĀ versionĀ 1.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
default: diag
 
2
 
 
3
TEST = client
 
4
TODELETE = *.pyoutput *.pyerror astkrc
 
5
 
 
6
include ../Makefile.inc
 
7
 
 
8
astkrc/config_serveurs:
 
9
        @rm -rf astkrc ; mkdir astkrc ; cp config_serveurs.in $@
 
10
 
 
11
unittest: | astkrc/config_serveurs client.pyoutput
 
12
        @echo "EXIT_CODE=0" > exit_code.tmp
 
13
        @if  [ `grep -c EXIT_CODE=0 client.pyoutput`  -ne 1 ]; then \
 
14
           echo "EXIT_CODE=104" > exit_code.tmp; \
 
15
        fi
 
16
        @mv -f exit_code.tmp $@
 
17