Lines Matching defs:run

19 @EXPORT = (@Test::More::EXPORT, qw(setup run indir cmd app fuzz test
41 ok(run(app(["openssl", "version"])), "check for openssl presence");
44 ok(run(test(["sometest", "arg1"], stdout => "foo.txt")),
45 "run sometest with output to foo.txt");
99 # exit_checker is used by run() directly after completion of a command.
101 # 1 (for success) or 0 (for failure). This is the status value that run()
123 most likely refuse to run.
166 C<indir> is used to run a part of the recipe in a different directory than
168 The part of the recipe that's run there is given by the codeblock BLOCK.
185 ok(run(app(["openssl", "version"]), stdout => "foo.txt"));
223 It returns a CODEREF to be used by C<run>, C<pipe> or C<cmdstr>.
283 ok(run(perlapp(["foo.pl", "arg1"],
299 ok(run($cmd), "Testing foo")
303 found would be incorrect at the time C<run> is called, because it was
387 =item B<run CODEREF, OPTS>
393 C<run> executes the command returned by CODEREF and return either the
397 The options that C<run> can take are in the form of hash values:
404 and C<run> will return the resulting standard output as an array of lines.
406 and C<run> will return 1 if the command was successful or 0 if it wasn't.
430 sub run {
445 die "OpenSSL::Test::run(): statusvar value not a scalar reference"
470 # to make it easier to compare with a manual run of the command.
665 BAIL_OUT("Must run setup() first") if (! $test_name);
684 BAIL_OUT("Must run setup() first") if (! $test_name);
697 to be passed to C<run> for execution.
741 This hook is executed after C<run> has performed its given command. The
832 run(test(['versions']), capture => 1);
850 ok_nofips(run(app(["md5.pl"])), "md5 should fail in fips mode");
923 failures will result in a C<BAIL_OUT> at the end of its run.
978 BAIL_OUT("Must run setup() first") if (! $test_name);
985 BAIL_OUT("Must run setup() first") if (! $test_name);
991 BAIL_OUT("Must run setup() first") if (! $test_name);
998 BAIL_OUT("Must run setup() first") if (! $test_name);
1026 BAIL_OUT("Must run setup() first") if (! $test_name);
1036 BAIL_OUT("Must run setup() first") if (! $test_name);
1046 BAIL_OUT("Must run setup() first") if (! $test_name);
1056 BAIL_OUT("Must run setup() first") if (! $test_name);
1065 BAIL_OUT("Must run setup() first") if (! $test_name);
1208 # On VMS and Windows, we run the perl executable explicitly,
1246 BAIL_OUT("Must run setup() first") if (! $test_name);