]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Add extension for perl tests using Test::Simple
authorMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
Fri, 27 Jul 2018 14:20:33 +0000 (16:20 +0200)
committerMatthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
Fri, 27 Jul 2018 14:20:33 +0000 (16:20 +0200)
This is a temporary extension as we will transition all tests to use
Test::Simple.

t/local.mk

index 0d0aee6ada96934306fc94d1b53bc3b0c6d41296..14b3e61b38add5856d7688dce0c6c43fe9d56633 100644 (file)
 # Run the tests with a proper shell detected at configure time.
 LOG_COMPILER = ./pre-inst-env $(AM_TEST_RUNNER_SHELL)
 
-TEST_EXTENSIONS = .pl .sh .tap
+TEST_EXTENSIONS = .pl .plt .sh .tap
 SH_LOG_COMPILER = $(LOG_COMPILER)
 TAP_LOG_COMPILER = $(LOG_COMPILER)
 PL_LOG_COMPILER = ./pre-inst-env $(PERL)
+PLT_LOG_COMPILER = $(PL_LOG_COMPILER)
 AM_PL_LOG_FLAGS = -Mstrict -w
 
 TAP_LOG_DRIVER = AM_TAP_AWK='$(AWK)' $(SHELL) $(srcdir)/lib/tap-driver.sh
+PLT_LOG_DRIVER = $(TAP_LOG_DRIVER)
 
 AM_TAP_LOG_DRIVER_FLAGS = --merge