components/logilab-common/Makefile
changeset 247 c57f32335aee
parent 181 87e11e685b1f
child 609 775168282b2f
--- a/components/logilab-common/Makefile	Wed May 18 20:49:57 2011 -0700
+++ b/components/logilab-common/Makefile	Thu May 19 09:15:54 2011 -0700
@@ -43,15 +43,13 @@
 install:	$(INSTALL_32)
 
 # Expected failures for test target:
-# In unittest_modutils.py, one failure in
-# test_knownValues_is_standard_module_2 (unittest_modutils.is_standard_module_tc).
-# In unittest_shellutils.py, one error in
-# test_locked_for_one_hour (unittest_shellutils.AcquireLockTC).
-# Summary: 361 test cases; 1 errors, 1 failures, 28 skipped; 23 modules OK (2 failed)
-test:	build
-	(cd $(COMPONENT_SRC); $(ENV) - \
-	PYTHONPATH=$(PROTO_DIR)/usr/lib/python2.6/vendor-packages \
-	bin/pytest test)
+# 722 test cases, 17 errors, 5 failures, 56 skipped
+# 43 modules OK (7 failed)
+COMPONENT_TEST_DIR = $(COMPONENT_SRC)
+COMPONENT_TEST_CMD = bin/pytest
+COMPONENT_TEST_ARGS = test
+
+test:	$(TEST_32)
 
 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)