Lines Matching defs:test

19 @EXPORT = (@Test::More::EXPORT, qw(setup run indir cmd app fuzz test
44 ok(run(test(["sometest", "arg1"], stdout => "foo.txt")),
59 With each test recipe, a parallel data directory with (almost) the same name
61 recipe C<$SRCTOP/test/recipes/99-foo.t>, there could be a directory
62 C<$SRCTOP/test/recipes/99-foo_data/>.
76 # The name of the test. This is set by setup() and is used in the other
122 If it's not used in a OpenSSL test recipe, the rest of the recipe will
128 variable if defined, otherwise C<$BLDTOP/test-runs> or C<$TOP/test-runs>,
141 warn "setup() detected test name change. Innocuous, so we continue...\n"
156 note "The results of this test will end up in $directories{RESULTS}"
244 =item B<test ARRAYREF, OPTS>
253 C<test> expects to find the given command (the first item in the given list
254 reference) as an executable in C<$TEST_D> (if defined, otherwise C<$TOP/test>
255 or C<$BLDTOP/test>).
257 Also, for both C<app> and C<test>, the command may be prefixed with
267 interpreted to reside in the same location as C<app> and C<test>.
284 interpreter_args => [ "-I", srctop_dir("test") ])));
290 One might wonder over the complexity of C<apps>, C<fuzz>, C<test>, ...
346 sub test {
624 associated with the test (see L</DESCRIPTION> above).
641 associated with the test (see L</DESCRIPTION> above) and FILENAME is the name
657 C<result_dir> returns the directory where test output files should be placed
674 FILENAME is the name of a test output file.
676 prepending to the file name the path to the directory where test output files
694 LIST is a list of CODEREFs returned by C<app> or C<test>, from which C<pipe>
696 pipe. C<pipe> returns a new CODEREF in the same manner as C<app> or C<test>,
775 C<cmdstr> takes a CODEREF from C<app> or C<test> and simply returns the
832 run(test(['versions']), capture => 1);
845 are the same as used by C<ok> which is an expression EXPR followed by the test
858 compared using eq or ne, followed by a test description TEST_NAME.
870 that can be compared using ne or eq, followed by a test description TEST_NAME.
917 If defined, its value should be the directory where the test applications
918 are located. Defaults to C<$TOP/test> (adapted to the operating system).
928 B<ok_nofips>, B<is_nofips> and B<isnt_nofips> to invert test results
944 $directories{BLDTEST} = $ENV{TEST_D} || __bldtop_dir("test");
945 $directories{SRCTEST} = __srctop_dir("test");
946 $directories{SRCDATA} = __srctop_dir("test", "recipes",
948 $directories{RESULTTOP} = $ENV{RESULT_D} || __bldtop_dir("test-runs");
1017 # relative to the test/, apps/ or fuzz/ directory in the build tree or the