summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-perl/Padre-Plugin-Autoformat/Padre-Plugin-Autoformat-1.220.0-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-perl/Padre-Plugin-Autoformat/Padre-Plugin-Autoformat-1.220.0-r1.ebuild b/dev-perl/Padre-Plugin-Autoformat/Padre-Plugin-Autoformat-1.220.0-r1.ebuild
index 5311fa7b7..c6913bfc5 100644
--- a/dev-perl/Padre-Plugin-Autoformat/Padre-Plugin-Autoformat-1.220.0-r1.ebuild
+++ b/dev-perl/Padre-Plugin-Autoformat/Padre-Plugin-Autoformat-1.220.0-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
MODULE_AUTHOR=AZAWAWI
MODULE_VERSION=1.22
-inherit perl-module
+inherit perl-module virtualx
DESCRIPTION="reformat your text within Padre"
@@ -17,3 +17,7 @@ IUSE=""
DEPEND=">=dev-perl/Module-Build-0.36.01"
RDEPEND="app-editors/padre
dev-perl/text-autoformat"
+
+src_test() {
+ VIRTUALX_COMMAND="perl-module_src_test" virtualmake
+}