Home
last modified time | relevance | path

Searched +full:use +full:- +full:cases (Results 1 – 25 of 1080) sorted by relevance

12345678910>>...44

/freebsd/contrib/atf/
H A DNEWS8 DON'T FORGET TO BUMP THE -version-info PRE-RELEASE IF NECESSARY!
10 * Issue #23: Fix double-free triggered by atf_map_insert in low memory
18 * Added the atf_check_not_equal function to atf-sh to check for
30 * Added the -s flag to atf-sh to support specifying the shell interpreter
34 use the standard TMPDIR environment variable. As a benefit, and because
39 relevant manual pages. This information was lost with the atf-config(1)
42 * Added a new "require.diskspace" metadata property to test cases so that
46 * Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for
53 * Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This
58 * Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang
[all …]
/freebsd/sys/dev/isci/scil/
H A Dsati_design.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
31 * Redistribution and use in source and binary forms, with or without
48 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
51 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61 - Nathan Marushak
69 Attachment), and SAT (SCSI-to-ATA Translation).
[all …]
/freebsd/contrib/atf/doc/
H A Datf-test-program.14 .\" Redistribution and use in source and binary forms, with or without
20 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
29 .Nm atf-test-program
44 .Em what is described in this manual page is the command-line interface
45 .Em exposed by the atf-c, atf-c++ and atf-sh bindings .
56 .Xr atf-test-case 4 .
60 To execute test cases in a controller manner, you need a runtime engine
64 You should only execute test cases by hand for debugging purposes.
67 test cases alongside their meta-data properties in a format that is
[all …]
H A Datf-test-case.44 .\" Redistribution and use in source and binary forms, with or without
20 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
29 .Nm atf-test-case
30 .Nd generic description of test cases
34 is a piece of code that stress-tests a specific feature of the software.
35 This feature is typically self-contained enough, either in the amount of
38 Given this, test cases are very fine-grained, but they attempt to group
48 .Em meta-data ,
50 .Sx Meta-data
[all …]
/freebsd/contrib/kyua/integration/
H A Dcmd_report_test.sh4 # Redistribution and use in source and binary forms, with or without
23 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 # Use this to be able to differentiate executions by inspecting the
48 atf_check -s exit:0 -o save:stdout -e empty env \
49 MOCK="${mock_env}" _='fake-value' kyua test
50 grep '^Results saved to ' stdout | cut -d ' ' -f 4 >"${dbfile_name}"
66 simple_all_pass:skip -> skipped: The reason for skipping is this [S.UUUs]
69 Test cases: 2 total, 1 skipped, 0 expected failures, 0 broken, 0 failed
72 atf_check -s exit:0 -o file:expout -e empty kyua report
[all …]
/freebsd/contrib/kyua/
H A DNEWS.md6 -----------------------
14 -----------------------
18 * Fixed execution of test cases as an unprivileged user, at least under
19 NetBSD 7.0. Kyua-level failures were probably a regression introduced
21 test cases might have previously failed for mysterious reasons when
24 * Issue #134: Fixed metadata test broken on 32-bit platforms.
26 * Issue #139: Added per-test case start/end timestamps to all reports.
29 routine data and triggered by the reuse of PIDs in long-running Kyua
40 -----------------------
45 implements a long-standing feature request: the ability to execute test
[all …]
/freebsd/crypto/openssl/test/
H A Dsparse_array_test.c2 * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
24 #pragma clang diagnostic ignored "-Wunused-function"
34 } cases[] = { in test_sparse_array() local
36 { INT_MAX, "m" }, { 6666666, "d" }, { (ossl_uintmax_t)-1, "H" }, in test_sparse_array()
49 for (i = 0; i < OSSL_NELEM(cases); i++) { in test_sparse_array()
50 if (!TEST_true(ossl_sa_char_set(sa, cases[i].n, cases[i].v))) { in test_sparse_array()
55 if (!TEST_str_eq(ossl_sa_char_get(sa, cases[j].n), cases[j].v)) { in test_sparse_array()
73 } cases[] = { in test_sparse_array_num() local
87 for (i = 0; i < OSSL_NELEM(cases); i++) in test_sparse_array_num()
[all …]
/freebsd/contrib/bmake/unit-tests/
H A Ddirective-include-guard.mk1 # $NetBSD: directive-include-guard.mk,v 1.18 2024/08/07 05:48:45 rillig Exp $
3 # Tests for multiple-inclusion guards in makefiles.
5 # A file that is guarded by a multiple-inclusion guard has one of the
14 # .if !target(guard-target)
23 # https://gcc.gnu.org/onlinedocs/cppinternals/Guard-Macros.html
25 # Each of the following test cases creates a temporary file named after the
30 # This is the canonical form of a variable-based multiple-inclusion guard.
31 CASES+= variable-ifndef
32 LINES.variable-ifndef= \
36 # expect: Parse_PushInput: file variable-ifndef.tmp, line 1
[all …]
/freebsd/usr.bin/rpcgen/
H A Drpc_parse.c3 * unrestricted use provided that this legend is included on all tape
14 * part of Sun Microsystems, Inc. to assist in its use, correction,
110 defp->def_kind = DEF_STRUCT; in def_struct()
113 defp->def_name = tok.str; in def_struct()
115 tailp = &defp->def.st.decls; in def_struct()
119 decls->decl = dec; in def_struct()
121 tailp = &decls->next; in def_struct()
142 defp->def_kind = DEF_PROGRAM; in def_program()
144 defp->def_name = tok.str; in def_program()
146 vtailp = &defp->def.pr.versions; in def_program()
[all …]
/freebsd/contrib/atf/atf-sh/
H A Datf-sh.34 .\" Redistribution and use in source and binary forms, with or without
20 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
50 .Nd POSIX shell API to write ATF-based test programs
112 .Xr atf-sh 1
114 .Bd -literal -offset indent
115 #! /usr/bin/env atf-sh
118 Shell-based test programs always follow this template:
119 .Bd -literal -offset indent
139 \&... additional test cases ...
[all …]
/freebsd/sys/kern/
H A Dsubr_coverage.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
11 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
14 * Redistribution and use in source and binary forms, with or without
29 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
197 * cases[0] is the number of case constants
198 * cases[1] is the size of val in bits
199 * cases[2..n] are the case constants
202 __sanitizer_cov_trace_switch(uint64_t val, uint64_t *cases) in __sanitizer_cov_trace_switch() argument
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h1 //===--- RewriteRule.h - RewriteRule class ----------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
53 /// Format of the path in an include directive -- angle brackets or quotes.
71 // Description of a source-code edit, expressed in terms of an AST node.
86 // for example, in clang-tidy diagnostics. Use of notes should be rare --
88 // (`RewriteRule::Explanation`) instead. Notes serve the rare cases wherein
89 // edit-specific diagnostics are required.
96 // Or, if we use Stencil for the TextGenerator:
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMSA.txt6 the implementation. In a small number of cases, this can cause different
19 same cases. andi.b should use fractionally less power than bclri.b in
24 constant since shf.w covers exactly the same cases. shf.w is used
26 unknown at compile-time due to the definition of shufflevector in
33 a special-case MipsISD node.
48 It is not possible to emit splati.w since shf.w covers the same cases.
53 copy_u.w. This is semantically equivalent since the general-purpose
54 register file is 32-bits wide.
58 swapped and condition inverted. The compiler may use either one as
60 Furthermore, the compiler may use bsel.[bhwd] for some masks that do
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLowerSwitch.cpp1 //===- LowerSwitch.cpp - Eliminate Switch instructions --------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
49 #define DEBUG_TYPE "lower-switch"
62 // Note: Ranges must be sorted, non-overlapping and non-adjacent. in IsInRanges()
69 return I != Ranges.end() && I->Low.sle(R.Low); in IsInRanges()
90 return CI1->getValue().slt(CI2->getValue()); in operator ()()
100 O << "[" << B->Low->getValue() << ", " << B->High->getValue() << "]"; in operator <<()
120 for (auto &I : SuccBB->phis()) { in FixPhis()
[all …]
/freebsd/lib/libc/iconv/
H A Diconv.37 .\" Redistribution and use in source and binary forms, with or without
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
108 .Bl -tag -width 01234567
125 In these cases, the values pointed to by
146 There are two special cases of
148 .Bl -tag -width 0123
159 .No non- Ns Dv NULL ,
188 .St -p1003.1-2008 ,
191 is provided as an alternative but non-standard interface.
[all …]
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DPPC.h1 //===--- PPC.h - Declare PPC target feature support -------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
136 .Cases("power3", "pwr3", ArchDefinePpcgr) in setCPU()
137 .Cases("power4", "pwr4", in setCPU()
139 .Cases("power5", "pwr5", in setCPU()
142 .Cases("power5x", "pwr5x", in setCPU()
145 .Cases("power6", "pwr6", in setCPU()
148 .Cases("power6x", "pwr6x", in setCPU()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAGTargetInfo.h1 //==- llvm/CodeGen/SelectionDAGTargetInfo.h - SelectionDAG Info --*- C++ -*-==//
5 // SPDX-License-Identifier: Apache-2.
[all...]
/freebsd/contrib/kyua/engine/
H A Dfilters.hpp4 // Redistribution and use in source and binary forms, with or without
23 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 /// Representation and manipulation of filters for test cases.
34 /// fed to them. User-interface filter manipulation must go somewhere else.
53 /// Filter for test cases.
55 /// A filter is one of: the name of a directory containing test cases, the name
84 /// Collection of user-provided filters to select test cases.
90 /// most likely the fault of the user. To check for non-disjoint filters before
91 /// constructing this object, use check_disjoint_filters.
[all …]
/freebsd/contrib/kyua/doc/
H A Dkyua-report.1.in4 .\" Redistribution and use in source and binary forms, with or without
23 .\" LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
36 .Op Fl -output Ar path
37 .Op Fl -results-file Ar file
38 .Op Fl -results-filter Ar types
39 .Op Fl -verbose
44 command parses a results file and generates a user-friendly, plaintext
51 can be customized to display full details on all executed test cases.
54 are used to select which test programs or test cases to display.
[all …]
/freebsd/crypto/heimdal/lib/wind/
H A Dtest-map.c6 * Redistribution and use in source and binary forms, with or without
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
53 static struct example cases[] = { variable
65 size_t out_len = c->out_len; in try()
69 ret = _wind_stringprep_map(c->in, c->in_len, tmp, &out_len, WIND_PROFILE_NAME); in try()
74 if (out_len != c->out_len) { in try()
79 if (memcmp(c->out, tmp, out_len * sizeof(uint32_t)) != 0) { in try()
94 for (i = 0; i < sizeof(cases)/sizeof(cases[0]); ++i) in main()
95 failures += try(&cases[i]); in main()
/freebsd/sys/contrib/device-tree/Bindings/iommu/
H A Diommu.txt13 Example: 32-bit DMA to 64-bit physical addresses
15 * Implement scatter-gather at page level granularity so that the device does
29 IOMMUs can be single-master or multiple-master. Single-master IOMMU devices
30 typically have a fixed association to the master device, whereas multiple-
34 "dma-ranges" property that describes how the physical address space of the
35 IOMMU maps to memory. An empty "dma-ranges" property means that there is a
39 --------------------
40 - #iommu-cells: The number of cells in an IOMMU specifier needed to encode an
44 the specific IOMMU. Below are a few examples of typical use-cases:
46 - #iommu-cells = <0>: Single master IOMMU devices are not configurable and
[all …]
/freebsd/contrib/kyua/model/
H A Dtest_case.cpp4 // Redistribution and use in source and binary forms, with or without
23 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
91 return md_defaults->apply_overrides(md); in get_metadata()
112 /// Constructs a new test case from an already-built impl oject.
136 /// program. Such test cases have a name surrounded by '__' and, when executed,
137 /// they return a fixed, pre-recorded result.
139 /// This is necessary for the cases where listing the test cases of a test
144 /// status of test programs independently of test cases, as some interfaces
162 name_.substr(name_.length() - 2) == "__", in test_case()
[all …]
/freebsd/contrib/expat/tests/
H A Dacc_tests.c9 Copyright (c) 2001-2006 Fred L. Drake, Jr. <fdrake@users.sourceforge.net>
11 Copyright (c) 2005-2007 Steven Solie <steven@solie.ca>
12 Copyright (c) 2005-2012 Karl Waclawek <karl@waclawek.net>
13 Copyright (c) 2016-2024 Sebastian Pipping <sebastian@pipping.org>
14 Copyright (c) 2017-2022 Rhodri James <rhodri@wildebeest.org.uk>
17 Copyright (c) 2018 Marco Maggi <marco.maggi-ipsu@poste.it>
27 without limitation the rights to use, copy, modify, merge, publish,
41 USE OR OTHER DEALINGS IN THE SOFTWARE.
60 struct AccountingTestCase cases[] = { in START_TEST() local
91 {"<!-- Comment --><e><!-- Comment --></e>", NULL, NULL, 0}, in START_TEST()
[all …]
/freebsd/contrib/kyua/store/
H A Dschema_v1.sql1 -- Copyright 2011 The Kyua Authors.
2 -- All rights reserved.
3 --
4 -- Redistribution and use in source and binary forms, with or without
5 -- modification, are permitted provided that the following conditions are
6 -- met:
7 --
8 -- * Redistributions of source code must retain the above copyright
9 -- notice, this list of conditions and the following disclaimer.
10 -- * Redistributions in binary form must reproduce the above copyright
[all …]
/freebsd/contrib/atf/atf-c++/
H A Datf-c++.34 .\" Redistribution and use in source and binary forms, with or without
20 .\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 .\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
29 .Nm atf-c++ ,
63 .Nd C++ API to write ATF-based test programs
145 C++-based test programs follow this template:
146 .Bd -literal -offset indent
148 \&... C-specific includes go here ...
151 \&... C++-specific includes go here ...
153 #include <atf-c++.hpp>
[all …]

12345678910>>...44