Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 2666) sorted by relevance

12345678910>>...107

/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/App/Prove/State/
H A DResult.pm31 # Re-run failed tests
44 tests => \%tests,
56 my $tests = delete $instance_data{tests} || {};
58 $self->_initialize($tests);
63 my ( $self, $tests ) = @_;
64 my %tests;
65 while ( my ( $name, $test ) = each %$tests ) {
66 $tests{
144 sub tests { global() subroutine
[all...]
/openbsd-src/gnu/usr.bin/perl/t/op/
H A Dconst-optree.t36 push @tests, {
52 push @tests, {
58 push @tests, {
68 push @tests, {
78 push @tests, {
88 push @tests, {
98 push @tests, {
109 push @tests, {
120 push @tests, {
131 push @tests, {
[all …]
H A Dleaky-magic.t15 sub tests::VERSION { $tests += pop };
16 plan (tests => $tests);
19 use tests 2; # First make sure that %! %- %+ do not load extra modules.
26 use tests 1; # ARGV
33 use tests 1; # %SIG
36 use tests 3; # rw ${^LETTERS} variables
47 use tests 6; # read-only ${^LETTERS}
52 use tests 16; # $<digits> and $<single digit> (regexp only, not $0)
57 use tests 5; # read-only single-char scalars
93 use tests 11; # rw $^X scalars
[all …]
H A Dcoreamp.t3 # This file tests the results of calling subroutines in the CORE::
4 # namespace with ampersand syntax. In other words, it tests the bodies of
8 # Other tests for CORE subs are in coresubs.t
48 # This tests that the &{} syntax respects the number of arguments implied
49 # by the prototype, plus some extra tests for the (_) prototype.
60 $tests ++;
67 $tests ++;
76 $tests += 3;
91 $tests += 1;
99 $tests
[all...]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/
H A Ddg.exp33 set tests [lsort [find $srcdir/$subdir *.C]]
34 set tests [prune $tests $srcdir/$subdir/bprob/*]
35 set tests [prune $tests $srcdir/$subdir/compat/*]
36 set tests [prune $tests $srcdir/$subdir/debug/*]
37 set tests [prune $tests $srcdir/$subdir/gcov/*]
38 set tests [prune $tests $srcdir/$subdir/special/*]
39 set tests [prune $tests $srcdir/$subdir/tls/*]
42 dg-runtest $tests "" $DEFAULT_CXXFLAGS
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/
H A Dscheduler.t38 tests => $some_tests,
43 tests => $some_tests,
48 tests => $some_tests,
53 tests => $some_tests,
57 tests => $some_tests,
62 tests => $some_tests,
67 tests => $some_tests,
72 tests => $some_tests,
77 plan tests => @schedule * 2 + 266;
82 $test->{tests},
[all …]
/openbsd-src/regress/lib/libm/msun/
H A Dlogarithm_test.c190 } tests[] = { in ATF_TC_BODY() local
226 for (i = 0; i < nitems(tests); i++) { in ATF_TC_BODY()
227 test_tol(log2, tests[i].x, tests[i].log2x, DBL_ULP()); in ATF_TC_BODY()
228 test_tol(log2f, tests[i].x, tests[i].log2x, FLT_ULP()); in ATF_TC_BODY()
229 test_tol(log2l, tests[i].x, tests[i].log2x, LDBL_ULP()); in ATF_TC_BODY()
230 test_tol(log, tests[i].x, tests[i].logex, DBL_ULP()); in ATF_TC_BODY()
231 test_tol(logf, tests[i].x, tests[i].logex, FLT_ULP()); in ATF_TC_BODY()
232 test_tol(logl, tests[i].x, tests[i].logex, LDBL_ULP()); in ATF_TC_BODY()
233 test_tol(log10, tests[i].x, tests[i].log10x, DBL_ULP()); in ATF_TC_BODY()
234 test_tol(log10f, tests[i].x, tests[i].log10x, FLT_ULP()); in ATF_TC_BODY()
[all …]
/openbsd-src/usr.bin/lex/
H A DChangeLog167 * configure.ac, flex.skl, nfa.c, tests/Makefile.am,
168 tests/test-lineno-trailing/.gitignore,
169 tests/test-lineno-trailing/Makefile.am,
170 tests/test-lineno-trailing/scanner.l,
171 tests/test-lineno-trailing/test.input: Adjust yylineno properly when
199 * tests/test-extended/Makefile.am, tests/test-quotes/Makefile.am:
200 …use cmp instead of diff in some tests for portability reasons Signed-off-by: Will Estes <westes575…
204 * tests/TEMPLATE/Makefile.am, tests/test-alloc-extra/Makefile.am,
205 tests/test-array-nr/Makefile.am, tests/test-array-r/Makefile.am,
206 tests/test-basic-nr/Makefile.am, tests/test-basic-r/Makefile.am,
[all …]
/openbsd-src/gnu/usr.bin/perl/t/uni/
H A Dvariables.t17 plan (tests => 66880);
149 $tests++;
153 $tests++;
159 $tests++;
165 $tests++;
174 $tests++;
184 $tests++;
193 $tests++;
201 $tests++;
211 $tests++;
[all …]
/openbsd-src/gnu/usr.bin/perl/t/re/
H A Dreg_fold.t12 my @tests;
100 push @tests, qq[ok(eval '$eval', '$eval - $comment')];
103 …$tests[-1]="TODO: { local \$::TODO='A multi-char fold \"foo\", doesnt work for /[f][o][o]/i';\n$te…
151 …push @tests, qq[like chr($hex_fold_ascii), qr/(?d:$chr)/i, 'chr($hex_fold_ascii) =~ qr/(?d:$chr)/i…
152 …push @tests, qq[like chr($hex_fold_latin1), qr/(?u:$chr)/i, 'chr($hex_fold_latin1) =~ qr/(?u:$chr)…
156 push @tests, qq[like chr(0x0430), qr/[=\x{0410}-\x{0411}]/i, 'Bug #71752 Unicode /i char in a range…
157 push @tests, qq[like 'a', qr/\\p{Upper}/i, "'a' =~ /\\\\p{Upper}/i"];
158 push @tests, q[my $c = "\x{212A}"; my $p = qr/(?:^[K_]+$)/i; utf8::upgrade($p); like $c, qr/$p/, 'B…
162 push @tests, q[my $re1 = "\N{WHITE SMILING FACE}";like $e_grave, qr/[\w$re1]/, 'my $re = "\N{WHITE …
163 push @tests, q[my $re2 = "\N{WHITE SMILING FACE}";like $e_grave, qr/\w|$re2/, 'my $re = "\N{WHITE S…
[all …]
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/lib/TAP/Parser/
H A DScheduler.pm12 TAP::Parser::Scheduler - Schedule tests during parallel testing
34 my $sched = TAP::Parser::Scheduler->new(tests => \@tests);
36 tests => [ ['t/test_name.t','Test Description'], ... ],
40 Given 'tests' and optional 'rules' as input, returns a new
41 C<TAP::Parser::Scheduler> object. Each member of C<@tests> should be either a
46 The optional C<rules> attribute provides direction on which tests should be run
58 to express simple rules like "run all tests in sequence" or "run all tests in
59 parallel except these five tests
[all...]
/openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Ddowngrade.t
/openbsd-src/regress/lib/libssl/tlsfuzzer/
H A Dtlsfuzzer.py57 def __init__(self, title="Tests", tests=[]): argument
59 self.tests = tests
62 return iter(self.tests)
64 # argument to pass to several tests
75 # test-tls13-finished.py has 70 failing tests that expect a "decode_error"
166 tls13_tests = TestGroup("TLSv1.3 tests", [
182 # The skipped tests fail due to a bug in BIO_gets() which masks the retry
196 tls13_slow_tests = TestGroup("slow TLSv1.3 tests", [
204 # Mark two tests case
658 __init__( self, timing=False, verbose=False, host="localhost", port=4433, use_tls1_3=True, dry_run=False, tests=[], scriptdir=tlsfuzzer_scriptdir, ) global() argument
675 add(self, title="tests", tests=[]) global() argument
[all...]
/openbsd-src/regress/usr.bin/ssh/unittests/kex/
H A Dtest_proposal.c43 } tests[] = { in kex_proposal_tests() local
53 for (i = 0; i < sizeof(tests) / sizeof(*tests); i++) { in kex_proposal_tests()
54 ssh.compat = tests[i].compat; in kex_proposal_tests()
56 result = compat_kex_proposal(&ssh, tests[i].in); in kex_proposal_tests()
57 ASSERT_STRING_EQ(result, tests[i].out); in kex_proposal_tests()
60 in = kex_names_cat("a", tests[i].in); in kex_proposal_tests()
61 out = kex_names_cat("a", tests[i].out); in kex_proposal_tests()
66 in = kex_names_cat(tests[i].in, "a"); in kex_proposal_tests()
67 out = kex_names_cat(tests[i].out, "a"); in kex_proposal_tests()
72 xasprintf(&in, "a,%s,b", tests[i].in); in kex_proposal_tests()
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/
H A DCMakeLists.txt2 # until the tests are run as we need to copy it into
3 # a copy of the tests folder
5 "${CMAKE_CURRENT_SOURCE_DIR}/tests/lit.site.cfg.in"
11 # To work around this the tests and the configuration file are copied into the
12 # build directory just before running them. The tests are not copied over at
14 # tests being run.
16 COMMAND ${CMAKE_COMMAND} -E remove_directory "${CMAKE_CURRENT_BINARY_DIR}/tests"
17 …_COMMAND} -E copy_directory "${CMAKE_CURRENT_SOURCE_DIR}/tests" "${CMAKE_CURRENT_BINARY_DIR}/tests"
18 …AKE_COMMAND} -E copy "${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg" "${CMAKE_CURRENT_BINARY_DIR}/tests"
19 COMMENT "Preparing lit tests"
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/XSLoader/t/
H A DXSLoader.t23 my $tests;
27 $tests++;
31 print STDOUT "ok $tests";
63 $tests++;
64 print STDOUT "ok $tests # skip $message\n";
95 if ($tests != $planned_tests) {
96 print STDERR "# Looks like you planned $planned_tests test but ran $tests.\n";
97 $? = abs($planned_tests - $tests);
99 elsif ($passed_tests != $tests) {
100 my $failed = $tests - $passed_tests;
[all …]
/openbsd-src/usr.sbin/unbound/doc/
H A DREADME.tests1 README unbound tests
3 For a quick test that runs unit tests and state machine tests, use
8 To make and run the long tests. The results are summarized at the end.
18 You can also use prepared Dockerfile to run tests inside docker based on latest gcc image:
19 * build container: docker build -t unbound-tester -f contrib/Dockerfile.tests .
23 * run long tests: make longtest
24 … configuration](https://docs.docker.com/config/daemon/ipv6/) because some tests need ipv6 network …
26 testdata/ contains the data for tests.
27 testcode/ contains scripts and c code for the tests.
29 do-tests.sh : runs all the tests in the testdata directory.
[all …]
/openbsd-src/gnu/usr.bin/perl/Porting/
H A Dbench.pl471 tests => undef,
498 'tests=s' => \$OPTS{tests},
562 my ($tests) = @_;
564 my $opt = $OPTS{tests};
567 my @tests;
572 for (keys %$tests) {
573 delete $tests->{$_} unless /$opt/;
580 next if exists $tests->{$_};
585 $e .= " $_\n" for sort keys %$tests;
592 for (keys %$tests) {
[all …]
/openbsd-src/gnu/usr.bin/perl/t/
H A Dharness41 # this is used to handle tests which are sensitive to load and which might
86 # Let tests know they're running in the perl core. Useful for modules
90 my (@tests, @re, @anti_re);
129 my @tests = $_[0]->@*;
152 # For some reason get_tests returns *all* the tests previously run,
153 # (in the right order), not simply the selection in @tests
155 # Whatever, *we* are only interested in the ones that are in @tests
157 @seen{@tests} = ();
158 @tests = grep {exists $seen{$_} } $state->get_tests(0, @tests);
[all...]
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dcall-sc.exp176 set tests "call ${testfile}"
179 gdb_test "p/c fun()" "= 49 '1'" "p/c fun(); ${tests}"
188 gdb_test "call Fun(foo)" "" "call Fun(foo); ${tests}"
189 gdb_test "p/c L" " = 49 '1'" "p/c L; ${tests}"
218 set tests "return ${testfile}"
238 "advance to fun for return; ${tests}"
241 gdb_test "p/c L" " = 90 'Z'" "zed L for return; ${tests}"
254 set test "return foo; ${tests}"
312 set test "value foo returned; ${tests}"
360 "advance to fun for finish; ${tests}"
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/
H A Dmain.py147 def print_discovered(tests, show_suites, show_tests): argument
148 tests.sort(key=lit.reports.by_suite_and_test_path)
151 tests_by_suite = itertools.groupby(tests, lambda t: t.suite)
167 for t in tests:
171 def determine_order(tests, order): argument
176 random.shuffle(tests)
178 tests.sort(key=lambda t: t.getFullName())
181 tests.sort(key=lambda t: (not t.previous_failure, -t.previous_elapsed, t.getFullName()))
184 def filter_by_shard(tests, run, shards, lit_config): argument
185 test_ixs = range(run - 1, len(tests), shards)
[all …]
/openbsd-src/gnu/llvm/llvm/utils/lit/utils/
H A Dcheck-coverage32 rm -f tests/.coverage
33 find tests -name .coverage.\* -exec rm {} \;
39 find tests/* -name .coverage.\* -exec mv {} tests \;
42 (cd tests && python -m coverage combine)
45 (cd tests && python -m coverage report)
49 (cd tests && python -m coverage html)
/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/t/
H A Dsyslog.t33 my $tests;
34 plan tests => $tests;
37 BEGIN { eval "use Test::NoWarnings"; $tests = $@ ? 0 : 1; }
39 BEGIN { $tests += 1 }
44 BEGIN { $tests += 1 }
49 BEGIN { $tests += 4 }
68 BEGIN { $tests += 3 }
86 BEGIN { $tests += 8 }
131 BEGIN { $tests += 22 * 6 }
204 BEGIN { $tests += 10 }
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.gb/
H A DREADME1 These are my C++ signature and class-scoping tests.
3 In changing my signature tests to DejaGnu style, I reduced the number
4 of tests from 40 to 25. They should still test the same features,
5 though. All of these tests are run. I don't have any tests yet to
8 The class scoping tests were in part derived from Vince Russo's
11 some of these tests with Niklas, others were included in bug reports I
13 these tests duplicate tests in other directories.
/openbsd-src/regress/lib/libpthread/dlopen/
H A Ddlopen.c567 int tests = *(int *)arg; in run_tests() local
577 while (tests > 0) { in run_tests()
578 flag = tests & ~(tests >> 1); in run_tests()
579 tests &= ~flag; in run_tests()
593 int ch, tests; in main() local
603 tests = 0; in main()
607 tests |= TEST_ALL; in main()
610 tests |= TEST_ACCEPT; in main()
613 tests |= TEST_CONNECT; in main()
616 tests |= TEST_FCNTL; in main()
[all …]

12345678910>>...107