~launchpad-pqm/launchpad/devel

1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
1
PYTHON_VERSION=2.4
2
PYTHON=python${PYTHON_VERSION}
3847.2.112 by Mark Shuttleworth
Bring test regime into line with RF
3
# Not all packages have a working Makefile. Work around this by hardcoding
4
# the ones we test.  If we fix them all to have EITHER a good makefile
5
# (build and check targets work), or no makefile we can reenable auto
6
# detection.
2731 by Canonical.com Patch Queue Manager
Disable autodetection of sourcecode/projects-to-test due to Makefilefiles not working in all cases.
7
# test_dirs:=$(shell find . -maxdepth 1 -mindepth 1 -name ".arch-ids" -prune -o -type d -print | grep -v pyarch)
4187.4.18 by Michael Hudson
don't run pybaz tests as part of make check_sourcecode_dependencies.
8
build_dirs:=buildbot bzr cscvs pygettextpo pygpgme sqlobject twisted zope
9
test_dirs:=buildbot bzr cscvs pygettextpo sqlobject twisted zope
10
launchpad_test_dirs:=buildbot pygettextpo sqlobject zope
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
11
12
all:
13
14
check: build
63.1.90 by Robert Collins
add pybaz link, and reenable test suites for buildbot/cscvs etc
15
	@ for subdir in ${test_dirs}; do \
1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
16
		$(MAKE) -C $$subdir check \
17
		PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} || exit $$?;\
63.1.90 by Robert Collins
add pybaz link, and reenable test suites for buildbot/cscvs etc
18
	done
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
19
3504.1.55 by kiko
Implement half of https://launchpad.net/products/launchpad/+spec/stop-spurious-test-failures by adding a special Makefile target that doesn't run some of the sourcecode tets.
20
check_for_launchpad: build
3847.2.112 by Mark Shuttleworth
Bring test regime into line with RF
21
	@ for subdir in ${launchpad_test_dirs}; do \
3504.1.55 by kiko
Implement half of https://launchpad.net/products/launchpad/+spec/stop-spurious-test-failures by adding a special Makefile target that doesn't run some of the sourcecode tets.
22
		$(MAKE) -C $$subdir check \
23
		PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} || exit $$?;\
24
	done
25
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
26
build:
3848.3.20 by Guilherme Salgado
Disable pygpgme tests from running on check_merge
27
	@ for subdir in ${build_dirs}; do\
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
28
		if [ -e $$subdir/Makefile ]; then\
1746 by Canonical.com Patch Queue Manager
[r=jamesh] Simple database restoration script and sampledata fixes
29
			$(MAKE) -C $$subdir \
30
			PYTHON=${PYTHON} PYTHON_VERSION=${PYTHON_VERSION} \
31
			       || exit $$?;\
1716.3.12 by kiko
Fix for bug 3371: Trying to register a new release in a product series raises a system error. Adds a validator for product series that ensures that the version is actually free to be used
32
		fi;\
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
33
	done
2976.10.1 by Stuart Bishop
Zope 3.2 fixes - mainly updating deprecated code
34
	#cd zope && ./configure --prefix=inst
35
	#cd zope && make install
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
36
3504.1.55 by kiko
Implement half of https://launchpad.net/products/launchpad/+spec/stop-spurious-test-failures by adding a special Makefile target that doesn't run some of the sourcecode tets.
37
.PHONY: check check_for_launchpad all build
1102 by Canonical.com Patch Queue Manager
Lucille had some XXXs which should have been NOTEs
38
39