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

« back to all changes in this revision

Viewing changes to ASTK_SERV/unittest/astout/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 = astout
 
4
TODELETE = $(TEST).export $(TEST).list $(TEST).rep_test $(TEST).resu_test $(TEST).flash diag.pick
 
5
 
 
6
include ../Makefile.inc
 
7
 
 
8
$(TEST).list:
 
9
        @echo 'erreu03a'  > $(TEST).tmp
 
10
        @echo 'zzzz136a' >> $(TEST).tmp
 
11
        @echo 'efica01a' >> $(TEST).tmp
 
12
        @echo 'zzzz107a' >> $(TEST).tmp
 
13
        @echo 'mumps01a' >> $(TEST).tmp
 
14
        @mv -f $(TEST).tmp $@
 
15
 
 
16
$(TEST).resu_test:
 
17
        @mkdir $@
 
18
 
 
19
$(TEST).rep_test:
 
20
        @mkdir $@
 
21
        @cp -f $(ASTER_ROOT)/$(ASTER_VERSION)/astest/zzzz107a.* $@
 
22
 
 
23
unittest: $(TEST).export $(TEST).list $(TEST).rep_test $(TEST).resu_test hostfile
 
24
        $(as_run) --only_nook $< > output.1.$@ 2> error.1.$@
 
25
        @grep EXIT_CODE output.1.$@ > $@
 
26
 
 
27