[libvirt] [dbus PATCH] maint: rename test directory to tests

Pavel Hrdina phrdina at redhat.com
Mon Apr 16 11:10:22 UTC 2018


Our ci.centos.org expects the project uses 'tests' name.

Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 .travis.yml                     | 2 +-
 Makefile.am                     | 2 +-
 configure.ac                    | 2 +-
 {test => tests}/Makefile.am     | 0
 {test => tests}/conftest.py     | 0
 {test => tests}/libvirttest.py  | 0
 {test => tests}/test_connect.py | 0
 {test => tests}/test_domain.py  | 0
 {test => tests}/test_network.py | 0
 {test => tests}/travis-run      | 0
 10 files changed, 3 insertions(+), 3 deletions(-)
 rename {test => tests}/Makefile.am (100%)
 rename {test => tests}/conftest.py (100%)
 rename {test => tests}/libvirttest.py (100%)
 rename {test => tests}/test_connect.py (100%)
 rename {test => tests}/test_domain.py (100%)
 rename {test => tests}/test_network.py (100%)
 rename {test => tests}/travis-run (100%)

diff --git a/.travis.yml b/.travis.yml
index 71c2e9c..d60eaf2 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
 dist: trusty
 language: c
 sudo: true
-script: test/travis-run
+script: tests/travis-run
 env:
  - ARCH=amd64
  - ARCH=i386
diff --git a/Makefile.am b/Makefile.am
index a890ff1..16f57b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 
-SUBDIRS = data src test
+SUBDIRS = data src tests
 
 ACLOCAL_AMFLAGS = -I m4
 
diff --git a/configure.ac b/configure.ac
index ea2c330..6f166f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -75,5 +75,5 @@ AC_CONFIG_FILES([run],
 AC_OUTPUT(Makefile
           data/Makefile
           src/Makefile
-          test/Makefile
+          tests/Makefile
           libvirt-dbus.spec)
diff --git a/test/Makefile.am b/tests/Makefile.am
similarity index 100%
rename from test/Makefile.am
rename to tests/Makefile.am
diff --git a/test/conftest.py b/tests/conftest.py
similarity index 100%
rename from test/conftest.py
rename to tests/conftest.py
diff --git a/test/libvirttest.py b/tests/libvirttest.py
similarity index 100%
rename from test/libvirttest.py
rename to tests/libvirttest.py
diff --git a/test/test_connect.py b/tests/test_connect.py
similarity index 100%
rename from test/test_connect.py
rename to tests/test_connect.py
diff --git a/test/test_domain.py b/tests/test_domain.py
similarity index 100%
rename from test/test_domain.py
rename to tests/test_domain.py
diff --git a/test/test_network.py b/tests/test_network.py
similarity index 100%
rename from test/test_network.py
rename to tests/test_network.py
diff --git a/test/travis-run b/tests/travis-run
similarity index 100%
rename from test/travis-run
rename to tests/travis-run
-- 
2.14.3




More information about the libvir-list mailing list