summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/setup.py b/setup.py
index f48c5ab..729481e 100755
--- a/setup.py
+++ b/setup.py
@@ -304,15 +304,13 @@ class my_test(Command):
Run test suite
"""
- apis = get_api_xml_files()
-
if "PYTHONPATH" in os.environ:
os.environ["PYTHONPATH"] = self.build_platlib + ":" + os.environ["PYTHONPATH"]
else:
os.environ["PYTHONPATH"] = self.build_platlib
if "LIBVIRT_API_COVERAGE" in os.environ:
- self.spawn([sys.executable, "sanitytest.py", self.build_platlib, apis[0]])
+ self.spawn([sys.executable, "sanitytest.py", self.build_platlib])
pytest = self.find_pytest_path()
subprocess.check_call([pytest])