/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/lib/ |
H A D | profopt.exp | 77 proc profopt-cleanup { testcase ext } { 78 set basename [file tail $testcase] 93 proc profopt-perf-value { testcase perf_ext optstr } { 94 set basename [file tail $testcase] 107 fail "$testcase perf check: no consistent time available, $optstr" 115 fail "$testcase perf check: file $base.$perf_ext has wrong format, $optstr" 118 profopt-cleanup $testcase $perf_ext 133 regsub "^$srcdir/?" $src "" testcase 138 if [string match "/*" $testcase] { 139 set testcase "[file tail [file dirname $src]]/[file tail $src]" [all …]
|
H A D | gcc-defs.exp | 21 proc ${tool}_check_compile {testcase option objname gcc_output} { 26 ${tool}_fail $testcase "Got Signal 6, $option" 31 ${tool}_fail $testcase "Got Signal 11, $option" 37 warning "$testcase: (with warnings) $option" 39 unresolved "$testcase, $option" 47 unsupported "$testcase: $unsupported_message" 56 ${tool}_fail $testcase $option 63 ${tool}_fail $testcase $option 67 ${tool}_pass $testcase $option 75 proc ${tool}_pass { testcase cflags } { [all …]
|
H A D | f-torture.exp | 60 regsub "^$srcdir/?" $src "" testcase 65 if [string match "/*" $testcase] { 66 set testcase "[file tail [file dirname $src]]/[file tail $src]" 69 verbose "Testing $testcase, $option" 1 81 g77_fail $testcase "Got Signal 6, $option" 87 g77_fail $testcase "Got Signal 11, $option" 97 warning "$testcase: (with warnings) $option" 99 unresolved "$testcase, $option" 106 unsupported "$testcase: $unsupported_message" 115 g77_fail $testcase $option [all …]
|
H A D | scanasm.exp | 43 upvar 2 name testcase 46 set output_file "[file rootname [file tail $testcase]].s" 53 pass "$testcase scan-assembler [lindex $args 0]" 55 fail "$testcase scan-assembler [lindex $args 0]" 78 upvar 2 name testcase 79 set output_file "[file rootname [file tail $testcase]].s" 86 pass "$testcase scan-assembler-not [lindex $args 0]" 88 fail "$testcase scan-assembler-not [lindex $args 0]" 125 upvar 2 name testcase 126 set output_file "[file rootname [file tail $testcase]].s" [all …]
|
H A D | gcov.exp | 27 proc clean-gcov { testcase } { argument 28 set basename [file tail $testcase] 39 proc verify-lines { testcase file } { 76 proc verify-branches { testcase file } { 163 proc verify-calls { testcase file } { 228 set testcase [lindex $args end] 238 catch "set done_p \[source [file rootname $srcdir/$subdir/$testcase].x\]" 248 verbose "Running $GCOV $testcase" 2 249 set testcase [remote_download host $testcase]; 252 fail "$subdir/$testcase gcov failed: [lindex $result 1]" [all …]
|
H A D | compat.exp | 61 global testcase 65 ${tool}_check_compile "$testcase $dest compile" $optstr $dest $comp_output 77 global testcase 83 unresolved "$testcase $testname link $optstr" 84 unresolved "$testcase $testname execute $optstr" 92 if ![${tool}_check_compile "$testcase $testname link" "" \ 94 unresolved "$testcase $testname execute $optstr" 107 $status "$testcase $testname execute $optstr" 122 global testcase 154 regsub "^$srcdir/?" $src1 "" testcase [all …]
|
H A D | objc-torture.exp | 71 regsub "^$srcdir/?" $src "" testcase 76 if [string match "/*" $testcase] { 77 set testcase "[file tail [file dirname $src]]/[file tail $src]" 80 verbose "Testing $testcase, $option" 1 87 objc_check_compile $testcase $option $output $comp_output 129 regsub "^$srcdir/?" $src "" testcase 134 if [string match "/*" $testcase] { 135 set testcase "[file tail [file dirname $src]]/[file tail $src]" 160 verbose "Testing $testcase, $option" 1 169 if ![objc_check_compile "$testcase compilation" $option $execname $comp_output] { [all …]
|
H A D | c-torture.exp | 71 regsub "^$srcdir/?" $src "" testcase 76 if [string match "/*" $testcase] { 77 set testcase "[file tail [file dirname $src]]/[file tail $src]" 80 verbose "Testing $testcase, $option" 1 87 gcc_check_compile $testcase $option $output $comp_output 133 regsub "^$srcdir/?" $src "" testcase 138 if [string match "/*" $testcase] { 139 set testcase "[file tail [file dirname $src]]/[file tail $src]" 164 verbose "Testing $testcase, $option" 1 173 if ![gcc_check_compile "$testcase compilation" $option $execname $comp_output] { [all …]
|
H A D | objc.exp | 201 proc objc_pass { testcase cflags } { 203 pass "$testcase" 205 pass "$testcase, $cflags" 213 proc objc_fail { testcase cflags } { 215 fail "$testcase" 217 fail "$testcase, $cflags" 258 proc runtest_file_p { runtests testcase } { 260 if { [lsearch $runtests [file tail $testcase]] >= 0 } then {
|
/openbsd-src/regress/lib/libcrypto/bn/ |
H A D | bn_print.c | 194 size_t testcase = 0; in main() local 201 if (testcase >= N_TESTCASES) in main() 203 test = &bn_print_tests[testcase++]; in main() 209 if (testcase >= N_TESTCASES) in main() 211 test = &bn_print_tests[testcase++]; in main() 216 if (testcase >= N_TESTCASES) in main() 218 test = &bn_print_tests[testcase++]; in main() 224 if (testcase >= N_TESTCASES) in main() 226 test = &bn_print_tests[testcase++]; in main() 231 if (testcase >= N_TESTCASES) in main() [all …]
|
H A D | bn_isqrt.c | 169 BIGNUM *n, *n_sqr, *lower, *upper, *testcase, *isqrt; in isqrt_test() local 188 if ((testcase = BN_CTX_get(ctx)) == NULL) in isqrt_test() 249 if (!bn_rand_in_range(testcase, n_sqr, upper)) in isqrt_test() 252 if (!bn_isqrt(isqrt, &is_perfect_square, testcase, ctx)) in isqrt_test() 256 (is_perfect_square && BN_cmp(n_sqr, testcase) != 0)) { in isqrt_test() 260 BN_print_fp(stderr, testcase); in isqrt_test() 272 if (!BN_sub(testcase, n_sqr, BN_value_one())) in isqrt_test() 275 if (!bn_isqrt(isqrt, &is_perfect_square, testcase, ctx)) in isqrt_test()
|
H A D | bn_gcd.c | 3457 bn_gcd_test(const struct gcd_test *testcase) in bn_gcd_test() argument 3479 if (!BN_hex2bn(&a, testcase->a)) in bn_gcd_test() 3480 errx(1, "a = hex2bn(%s)", testcase->a); in bn_gcd_test() 3481 if (!BN_hex2bn(&b, testcase->b)) in bn_gcd_test() 3482 errx(1, "b = hex2bn(%s)", testcase->b); in bn_gcd_test() 3483 if (!BN_hex2bn(&want, testcase->r)) in bn_gcd_test() 3484 errx(1, "want = hex2bn(%s)", testcase->r); in bn_gcd_test() 3499 test->name, testcase->a, testcase->b); in bn_gcd_test() 3504 fprintf(stderr, "a: %s\n", testcase->a); in bn_gcd_test() 3505 fprintf(stderr, "b: %s\n", testcase->b); in bn_gcd_test() [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/consistency.vlad/ |
H A D | vlad.exp | 86 regsub "^$srcdir/?" $src "" testcase 91 if [string match "/*" $testcase] { 92 set testcase "[file tail $dirname]/[file tail $src]" 101 verbose "Testing $testcase, $consistency_options" 1 120 fail $testcase "Got Signal 6, $cpp_flag $consistency_options" 126 fail $testcase "Got Signal 11, $cpp_flag $consistency_options" 133 warning "$testcase: (with warnings) $cpp_flag $consistency_options" 135 unresolved "$testcase, $cpp_flag $consistency_options" 144 fail "$testcase compilation, $cpp_flag $consistency_options" 145 untested "$testcase execution, $cpp_flag $consistency_options" [all …]
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/compile/ |
H A D | compile.exp | 28 foreach testcase [glob -nocomplain $srcdir/$subdir/*.f] { 30 if ![runtest_file_p $runtests $testcase] then { 34 f-torture $testcase 37 foreach testcase [glob -nocomplain $srcdir/$subdir/*.F] { 39 if ![runtest_file_p $runtests $testcase] then { 43 f-torture $testcase
|
/openbsd-src/regress/lib/libssl/unit/ |
H A D | ssl_methods.c | 189 test_client_or_server_method(struct ssl_method_test_data *testcase) in test_client_or_server_method() argument 195 if ((ssl_ctx = SSL_CTX_new(testcase->method())) == NULL) { in test_client_or_server_method() 205 if (SSL_is_server(ssl) != testcase->server) { in test_client_or_server_method() 207 testcase->name, testcase->server, SSL_is_server(ssl)); in test_client_or_server_method() 221 test_dtls_method(struct ssl_method_test_data *testcase) in test_dtls_method() argument 227 if ((ssl_ctx = SSL_CTX_new(testcase->method())) == NULL) { in test_dtls_method() 237 if (SSL_is_dtls(ssl) != testcase->dtls) { in test_dtls_method() 239 testcase->name, testcase->dtls, SSL_is_dtls(ssl)); in test_dtls_method()
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/unsorted/ |
H A D | unsorted.exp | 42 foreach testcase [glob -nocomplain $srcdir/$subdir/*.c] { 43 if [file exists [file rootname $testcase].exp] then { 44 verbose "INFO:\"[file rootname $testcase].exp\" exists, skipping test" 3 49 if ![runtest_file_p $runtests $testcase] then { 53 c-torture $testcase
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | compile.exp | 28 foreach testcase [glob -nocomplain $srcdir/$subdir/*.c] { 30 if ![runtest_file_p $runtests $testcase] then { 34 c-torture $testcase
|
/openbsd-src/gnu/llvm/llvm/utils/lit/lit/formats/ |
H A D | googletest.py | 182 for testcase in jf['testsuites']: 183 for testinfo in testcase['testsuite']: 187 testname = testcase['name'] + '.' + testinfo['name'] 254 for testcase in testsuites: 255 for testinfo in testcase['testsuite']: 260 testPath = test.path_in_suite[:-2] + (testcase['name'], 265 testname = testcase['name'] + '.' + testinfo['name']
|
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/ |
H A D | README.gcc | 8 1) Print a one-liner indicating the testcase being run (and maybe special 14 3) Print detailed testcase analysis like "Looking for pattern ...", etc. 37 and "linker input file unused". Don't let their appearance cause a testcase 40 If you're unclear about which directory a testcase should be installed in,
|
/openbsd-src/gnu/llvm/lldb/packages/Python/lldbsuite/test/ |
H A D | lldbutil.py | 1472 def get_actions_for_signal(testcase, signal_name, from_target=False, expected_absent=False): argument 1478 testcase.dbg.GetCommandInterpreter().HandleCommand( 1485 testcase.fail('Signal "{0}" was supposed to be absent'.format(signal_name)) 1489 testcase.fail('Unable to retrieve default signal disposition.') 1494 def set_actions_for_signal(testcase, signal_name, pass_action, stop_action, notify_action, expect_s… argument 1504 testcase.dbg.GetCommandInterpreter().HandleCommand(command, return_obj) 1505 testcase.assertEqual(expect_success, 1570 def wait_for_file_on_target(testcase, file_path, max_attempts=6): argument 1572 err, retcode, msg = testcase.run_platform_command("ls %s" % file_path) 1580 testcase.fail( [all …]
|
/openbsd-src/gnu/usr.bin/perl/Porting/ |
H A D | bisect-example.sh | 27 ./perl -Ilib ~/testcase.pl
|
/openbsd-src/gnu/llvm/llvm/docs/CommandGuide/ |
H A D | bugpoint.rst | 140 compile portions of the program that as they are excluded from the testcase. 149 **--safe-custom** options to execute the bitcode testcase. This can 155 option to compile the bitcode testcase. The command should exit with a 163 testcase and pass the name of an executable compile-command script in this form:
|
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/ |
H A D | README | 110 # whether the testcase is even attempted on the specified target. 122 (to just have a testcase do compile testing, without linking and executing) 173 successfully. For example, a testcase foo.C using bar.baz as 182 After the testcase compiles and ran successfully, diff 200 gcc having a testcase called "limits" and C++ having an include file
|
/openbsd-src/gnu/usr.bin/binutils/binutils/ |
H A D | README | 166 testcase that triggers the problem. In the case of a gas problem, we 191 request. Better still, try to reduce the testcase, for example, try to 192 develop a ld testcase that doesn't use system libraries. However, 193 please be sure it is a complete testcase and that it really does
|
/openbsd-src/gnu/llvm/lldb/third_party/Python/module/unittest2/unittest2/ |
H A D | case.py | 165 def __init__(self, testcase): argument 166 self.testcase = testcase 175 return getattr(self.testcase, value)
|