kde4-base.eclass: Fix test phase with virtual X and EAPI 6
authorJohannes Huber <johu@gentoo.org>
Wed, 1 Jun 2016 13:44:03 +0000 (15:44 +0200)
committerJohannes Huber <johu@gentoo.org>
Wed, 1 Jun 2016 13:58:24 +0000 (15:58 +0200)
Migrate to virtx function as old virtualmake is banned in EAPI 6, which
makes test phase fail for eclass consumers require virtual X.

eclass/kde4-base.eclass

index c52f6992a2865fb9599b025ff008865752e0a240..4d73b8182fd310ffda3a847b2ac3ced5ea755b3e 100644 (file)
@@ -827,7 +827,7 @@ kde4-base_src_test() {
                        debug-print "           kde4-base.eclass docs for details... Applying workaround."
                        _test_runner
                else
-                       VIRTUALX_COMMAND="_test_runner" virtualmake
+                       virtx _test_runner
                fi
        else
                _test_runner