[Pkg-libvirt-commits] [libguestfs] 09/26: php: move tests under a tests subdirectory

Hilko Bengen bengen at moszumanska.debian.org
Thu Mar 20 23:06:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag upstream/1.25.46
in repository libguestfs.

commit 251a1934c9bcfe9727b011a4d8bfc4b769b3b744
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Tue Mar 18 15:12:26 2014 +0100

    php: move tests under a tests subdirectory
    
    This eases fixes the classname in the junit output of run-tests.php,
    which now can be properly handled by junit XML consumers.
---
 php/extension/{ => tests}/guestfs_php_001.phpt | 0
 php/extension/{ => tests}/guestfs_php_002.phpt | 0
 php/extension/{ => tests}/guestfs_php_003.phpt | 0
 php/run-php-tests.sh                           | 2 +-
 4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/php/extension/guestfs_php_001.phpt b/php/extension/tests/guestfs_php_001.phpt
similarity index 100%
rename from php/extension/guestfs_php_001.phpt
rename to php/extension/tests/guestfs_php_001.phpt
diff --git a/php/extension/guestfs_php_002.phpt b/php/extension/tests/guestfs_php_002.phpt
similarity index 100%
rename from php/extension/guestfs_php_002.phpt
rename to php/extension/tests/guestfs_php_002.phpt
diff --git a/php/extension/guestfs_php_003.phpt b/php/extension/tests/guestfs_php_003.phpt
similarity index 100%
rename from php/extension/guestfs_php_003.phpt
rename to php/extension/tests/guestfs_php_003.phpt
diff --git a/php/run-php-tests.sh b/php/run-php-tests.sh
index e498987..53216be 100755
--- a/php/run-php-tests.sh
+++ b/php/run-php-tests.sh
@@ -41,7 +41,7 @@ rm -f env
 echo "PATH=$PATH" > env
 printenv | grep -E '^(LIBGUESTFS|LIBVIRT|LIBVIRTD|VIRTLOCKD|LD|MALLOC)_' >> env
 
-TESTS=$(echo guestfs_php_*.phpt)
+TESTS=$(echo tests/guestfs_php_*.phpt)
 echo TESTS: $TESTS
 
 make test TESTS="$TESTS" PHP_EXECUTABLE="$PWD/php-for-tests.sh" REPORT_EXIT_STATUS=1

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list