bc240bd742
This way, tests will appear as from 'extra' module. Besides the move, some minor changes: - add missing self.qc.unlock_db() in create_vms() - suffix per-template tests with template name QubesOS/qubes-issues#1800
38 lines
1.5 KiB
Makefile
38 lines
1.5 KiB
Makefile
PYTHON_TESTSPATH = $(PYTHON_SITEPATH)/qubes/tests
|
|
|
|
all:
|
|
python -m compileall .
|
|
python -O -m compileall .
|
|
|
|
install:
|
|
ifndef PYTHON_SITEPATH
|
|
$(error PYTHON_SITEPATH not defined)
|
|
endif
|
|
mkdir -p $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp __init__.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp __init__.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp backup.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp backup.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp backupcompatibility.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp backupcompatibility.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp basic.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp basic.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp dom0_update.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp dom0_update.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp network.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp network.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp vm_qrexec_gui.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp vm_qrexec_gui.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp regressions.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp regressions.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp run.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp run.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp storage.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp storage.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp storage_xen.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp storage_xen.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp hardware.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp hardware.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp extra.py $(DESTDIR)$(PYTHON_TESTSPATH)
|
|
cp extra.py[co] $(DESTDIR)$(PYTHON_TESTSPATH)
|