[pygobject] setup.py: test: also run compat_test_pygtk tests



commit 0dca3f4f577c540d8e09097b6e414708c8d54108
Author: Christoph Reiter <reiter christoph gmail com>
Date:   Tue Jan 30 14:05:24 2018 +0100

    setup.py: test: also run compat_test_pygtk tests

 setup.py | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/setup.py b/setup.py
index ac43bbac..5d621f51 100755
--- a/setup.py
+++ b/setup.py
@@ -463,6 +463,13 @@ class test(Command):
             os.path.join(tests_dir, "runtests.py"),
         ], env=env)
 
+        if not env.get("TEST_NAMES"):
+            env["TEST_NAMES"] = "compat_test_pygtk"
+            subprocess.check_call([
+                sys.executable,
+                os.path.join(tests_dir, "runtests.py"),
+            ], env=env)
+
 
 class quality(Command):
     description = "run code quality tests"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]