~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to fai/Makefile

  • Committer: Robert Collins
  • Date: 2005-09-13 10:46:27 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20050913104627-51f938950a907475
handle inaccessible sibling archives somewhat - note version-0 is still not handled

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
PYTHONPATH=$(PWD)
 
3
 
 
4
all:
 
5
 
 
6
build:
 
7
 
 
8
doc:
 
9
        rm -rf html
 
10
        ./mypydoc --docformat "restructuredtext en" arch
 
11
 
 
12
check: check-arch check-twisted
 
13
 
 
14
check-arch:
 
15
        PYTHONPATH=$(PYTHONPATH) ./run-tests
 
16
 
 
17
.PHONY: all build doc check check-arch
 
18
 
 
19
ifeq ($(TERM),dumb)
 
20
    TRIAL := trial -o
 
21
else
 
22
    TRIAL := trial -v
 
23
endif
 
24
 
 
25
check-twisted:
 
26
        PYTHONPATH=$(PYTHONPATH) $(TRIAL) arch.tests.test_twisted
 
27
 
 
28
check-twisted-arch:
 
29
        PYTHONPATH=$(PYTHONPATH) $(TRIAL) arch.tests.test_twisted_arch
 
30
 
 
31
.PHONY: check-twisted check-twisted-arch