[pypy-svn] r71678 - pypy/build/ubuntu/debian

getxsick at codespeak.net getxsick at codespeak.net
Tue Mar 2 23:51:29 CET 2010


Author: getxsick
Date: Tue Mar  2 23:51:28 2010
New Revision: 71678

Modified:
   pypy/build/ubuntu/debian/Makefile.in
Log:
run tests (app, lib-python and JIT) after trasnalation

Modified: pypy/build/ubuntu/debian/Makefile.in
==============================================================================
--- pypy/build/ubuntu/debian/Makefile.in	(original)
+++ pypy/build/ubuntu/debian/Makefile.in	Tue Mar  2 23:51:28 2010
@@ -12,13 +12,27 @@
 all: $(BINARIES) test
 
 test: export TMPDIR = $(CURDIR)/tests-tmp
+test: export PYTHONPATH = ".:"$(PYTHONPATH)
 test:
 	@rm -rf $(TMPDIR)
 	mkdir $(TMPDIR)
-	set -e; for SECTION in interpreter lib; do \
-			time py/bin/py.test pypy/$$SECTION || true; \
-			echo Finished tsting section $$SECTION; \
-	done
+	cp build-default/usession-$$USER/testing_1/testing_1 pypy/translator/goal/pypy-c
+	set -e; python testrunner/runner.py \
+		--logfile=pytest-A.log \
+		--config=pypy/pytest-A.cfg \
+		--root=pypy \
+		--timeout=1800 || true;\
+		echo "Finished testing app-level (-A)"; \
+		python pypy/test_all.py \
+		--pypy=pypy/translator/goal/pypy-c \
+		--resultlog=cpython.log \
+		lib-python || true; \
+		echo "Finished testing lib-python"; \
+		python pypy/test_all.py \
+		--pypy=pypy/translator/goal/pypy-c \
+		--resultlog=pypyjit.log \
+		pypy/module/pypyjit/test || true; \
+		echo "Finished testing JIT"; 
 
 .NOTPARALLEL: $(BINARIES)
 



More information about the Pypy-commit mailing list