From a4765b055152aeadb7830496d948139e6aadd4ea Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 3 Nov 2010 11:22:46 +0100 Subject: runtests: allow tests written as perl scripts If a command is set type="perl", it can now specify a perl program that will be run instead of an ordinary curl or built tool. A perl test automatically disables memory and valgrind debugging. --- tests/FILEFORMAT | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/FILEFORMAT') diff --git a/tests/FILEFORMAT b/tests/FILEFORMAT index fb162a358..6a61dd000 100644 --- a/tests/FILEFORMAT +++ b/tests/FILEFORMAT @@ -224,7 +224,7 @@ command is run. They are cleared again after the command has been run. Variables are first substituted as in the section. - + command line to run, there's a bunch of %variables that get replaced accordingly. @@ -237,6 +237,9 @@ If a CONNECT is used to the server (to emulate HTTPS etc over proxy), the port number given in the CONNECT request will be used to identify which test that is being run, if the proxy host name is said to start with 'test'. +Set type="perl" to write the test case as a perl script. It implies that +there's no memory debugging and valgrind gets shut off for this test. + Set option="no-output" to prevent the test script to slap on the --output argument that directs the output to a file. The --output is also not added if the verify/stdout section is used. -- cgit v1.2.3