Home
last modified time | relevance | path

Searched +full:- +full:- +full:strict +full:- +full:warnings (Results 1 – 25 of 982) sorted by relevance

12345678910>>...40

/third_party/openssl/external/perl/Text-Template-1.56/
DMakefile.PL2 use strict;
3 use warnings;
15 "DISTNAME" => "Text-Template",
24 "strict" => 0,
25 "warnings" => 0
32 "Test::Warnings" => 0,
52 "Test::Warnings" => 0,
55 "strict" => 0,
58 "warnings" => 0
62 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
[all …]
DChanges3 1.56 2019-07-09
4 - Fix typos in Changes
6 1.55 2019-02-25
7 - Improve AppVeyor tests for older Perls (Thanks Roy Ivy)
8 - Check for Test::More 0.94 and skip tests if not installed where
10 - Improve workaround for broken Win32 File::Temp taint failure (Thanks Roy Ivy).
11 - Skip/todo tests which fail under Devel::Cover (Thanks Roy Ivy)
12 - Add checks and skip_all checks for non-core test modules (Thanks Roy Ivy)
14 1.54 2019-01-13
15 - Fix tempfile creation during tests on Win32
[all …]
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/
DMakefile.PL2 use strict;
3 use warnings;
15 "DISTNAME" => "Text-Template",
24 "strict" => 0,
25 "warnings" => 0
32 "Test::Warnings" => 0,
52 "Test::Warnings" => 0,
55 "strict" => 0,
58 "warnings" => 0
62 unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
[all …]
DChanges3 1.56 2019-07-09
4 - Fix typos in Changes
6 1.55 2019-02-25
7 - Improve AppVeyor tests for older Perls (Thanks Roy Ivy)
8 - Check for Test::More 0.94 and skip tests if not installed where
10 - Improve workaround for broken Win32 File::Temp taint failure (Thanks Roy Ivy).
11 - Skip/todo tests which fail under Devel::Cover (Thanks Roy Ivy)
12 - Add checks and skip_all checks for non-core test modules (Thanks Roy Ivy)
14 1.54 2019-01-13
15 - Fix tempfile creation during tests on Win32
[all …]
/third_party/node/test/parallel/
Dtest-cli-options-negation.js1 'use strict';
6 // --warnings is on by default.
9 // --warnings can be passed alone.
10 assertHasWarning(spawnWithFlags(['--warnings']));
12 // --no-warnings can be passed alone.
13 assertHasNoWarning(spawnWithFlags(['--no-warnings']));
16 assertHasWarning(spawnWithFlags(['--no-warnings', '--warnings']));
18 // Non-boolean flags cannot be negated.
19 assert(spawnWithFlags(['--no-max-http-header-size']).stderr.toString().includes(
20 '--no-max-http-header-size is an invalid negation because it is not ' +
[all …]
Dtest-trace-exit.js1 'use strict';
8 const variant = process.argv[process.argv.length - 1];
10 case variant === 'main-thread': {
13 case variant === 'main-thread-exit': {
16 case variant.startsWith('worker-thread'): {
25 if (workerData === 'worker-thread-exit') {
33 for (const { execArgv, variant, warnings } of [ field
34 { execArgv: ['--trace-exit'], variant: 'main-thread-exit', warnings: 1 }, property
35 { execArgv: [], variant: 'main-thread-exit', warnings: 0 }, property
36 { execArgv: ['--trace-exit'], variant: 'main-thread', warnings: 0 }, property
[all …]
Dtest-sync-io-option.js1 'use strict';
7 // Test that --trace-sync-io works. In particular, a warning should be printed
9 // turn, and no warnings should occur when it is disabled or synchronous I/O
12 if (process.argv[2] === 'late-sync-io') {
17 } else if (process.argv[2] === 'early-sync-io') {
23 for (const { execArgv, variant, warnings } of [ field
24 { execArgv: ['--trace-sync-io'], variant: 'late-sync-io', warnings: 1 }, property
25 { execArgv: [], variant: 'late-sync-io', warnings: 0 }, property
26 { execArgv: ['--trace-sync-io'], variant: 'early-sync-io', warnings: 0 }, property
27 { execArgv: [], variant: 'early-sync-io', warnings: 0 }, property
[all …]
Dtest-process-redirect-warnings.js1 'use strict';
3 // Tests the --redirect-warnings command line flag by spawning
5 // warnings file. Once the process completes, the warning file is
18 const warnmod = fixtures.path('warnings.js');
19 const warnpath = path.join(tmpdir.path, 'warnings.txt');
21 fork(warnmod, { execArgv: [`--redirect-warnings=${warnpath}`] })
Dtest-worker-execargv.js1 'use strict';
15 const w = new Worker(__filename, { execArgv: ['--trace-warnings'] });
25 { eval: true, execArgv: ['--trace-warnings'] })
27 assert.deepStrictEqual(data, ['--trace-warnings']);
31 assert.deepStrictEqual(process.execArgv, ['--trace-warnings']);
Dtest-snapshot-warning.js1 'use strict';
22 console.log('\n# Check snapshot scripts that do not emit warnings.');
24 '--snapshot-blob',
26 '--build-snapshot',
41 '--snapshot-blob',
60 'warnings and --trace-warnings hint.');
62 '--snapshot-blob',
64 '--build-snapshot',
79 match = child.stderr.toString().match(/Use `node --trace-warnings/g);
83 '--snapshot-blob',
[all …]
Dtest-unicode-node-options.js1 'use strict';
2 // Flags: --expose-internals
11 const NODE_OPTIONS = `--redirect-warnings=${expected_redirect_value}`;
13 ['--expose-internals', __filename, 'test'],
23 const redirect_value = getOptionValue('--redirect-warnings');
24 console.log(`--redirect-warings=${redirect_value}`);
Dtest-process-no-deprecation.js1 'use strict';
2 // Flags: --no-warnings
4 // The --no-warnings flag only suppresses writing the warning to stderr, not the
22 // Check that deprecations can be re-enabled.
/third_party/node/test/sequential/
Dtest-process-warnings.js1 'use strict';
7 const warnmod = require.resolve(fixtures.path('warnings.js'));
11 const noWarn = ['--no-warnings', warnmod];
12 const traceWarn = ['--trace-warnings', warnmod];
17 // Show Process Warnings
24 // Hide Process Warnings
35 assert.match(stderr, /at Object\.<anonymous>\s\(.+warnings\.js:3:9\)/);
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/t/
Dwarnings.t3 use strict;
4 use warnings;
13 Test::More->import;
15 # Non-CORE module(s)
16 unless (eval { require Test::Warnings; 1; }) {
17 plan(skip_all => '[ Test::Warnings ] is required for testing');
20 Test::Warnings->import;
26 'This template should not produce warnings.'.$bad;
31 $template = Text::Template->new(type => 'STRING', source => $template);
34 my $result = $template->fill_in(HASH => { good => 'good' });
[all …]
Dhash.t6 use strict;
7 use warnings;
12 my $template = 'We will put value of $v (which is "good") here -> {$v}';
20 $template = Text::Template->new('type' => 'STRING', 'source' => $template);
24 my $result2 = 'We will put value of $v (which is "good") here -> good';
25 my $text = $template->fill_in(HASH => $vars);
32 my $result4 = 'We will put value of $v (which is "good") here -> good';
33 $text = $template->fill_in(HASH => $vars);
37 my $result5 = 'We will put value of $v (which is "good") here -> good';
38 $text = $template->fill_in(HASH => $vars, PACKAGE => 'Q');
[all …]
/third_party/openssl/external/perl/Text-Template-1.56/t/
Dwarnings.t3 use strict;
4 use warnings;
13 Test::More->import;
15 # Non-CORE module(s)
16 unless (eval { require Test::Warnings; 1; }) {
17 plan(skip_all => '[ Test::Warnings ] is required for testing');
20 Test::Warnings->import;
26 'This template should not produce warnings.'.$bad;
31 $template = Text::Template->new(type => 'STRING', source => $template);
34 my $result = $template->fill_in(HASH => { good => 'good' });
[all …]
Dhash.t6 use strict;
7 use warnings;
12 my $template = 'We will put value of $v (which is "good") here -> {$v}';
20 $template = Text::Template->new('type' => 'STRING', 'source' => $template);
24 my $result2 = 'We will put value of $v (which is "good") here -> good';
25 my $text = $template->fill_in(HASH => $vars);
32 my $result4 = 'We will put value of $v (which is "good") here -> good';
33 $text = $template->fill_in(HASH => $vars);
37 my $result5 = 'We will put value of $v (which is "good") here -> good';
38 $text = $template->fill_in(HASH => $vars, PACKAGE => 'Q');
[all …]
/third_party/node/deps/npm/node_modules/validate-npm-package-name/lib/
Dindex.js1 'use strict'
11 var warnings = []
16 return done(warnings, errors)
21 return done(warnings, errors)
26 return done(warnings, errors)
52 // Generate warnings for stuff that used to be allowed
57 warnings.push(builtin + ' is a core module name')
62 warnings.push('name can no longer contain more than 214 characters')
67 warnings.push('name can no longer contain capital letters')
70 if (/[~'!()*]/.test(name.split('/').slice(-1)[0])) {
[all …]
/third_party/python/Lib/test/
Dtest_ossaudiodev.py3 import warnings
8 with warnings.catch_warnings():
9 warnings.simplefilter("ignore", DeprecationWarning)
19 # Arggh, AFMT_S16_NE not defined on all platforms -- seems to be a
40 raise RuntimeError("Expect .au file with 8-bit mu-law samples")
42 # Convert the data to 16-bit signed.
64 # Make sure the read-only attributes work.
69 # And make sure they're really read-only.
76 self.fail("dsp.%s not read-only" % attr)
83 self.assertTrue(abs(expected_time - 3.51) < 1e-2, expected_time)
[all …]
/third_party/python/Lib/distutils/command/
Dcheck.py36 """This command checks the meta-data of the package.
39 user_options = [('metadata', 'm', 'Verify meta-data'),
41 ('Checks if long string meta-data syntax '
42 'are reStructuredText-compliant')),
43 ('strict', 's',
46 boolean_options = ['metadata', 'restructuredtext', 'strict']
52 self.strict = 0
59 """Counts the number of warnings that occurs."""
71 elif self.strict:
74 # let's raise an error in strict mode, if we have at least
[all …]
/third_party/python/Lib/distutils/tests/
Dtest_register.py6 import warnings
26 index-servers =
35 index-servers =
72 'content-type': 'text/plain; charset=utf-8',
156 self.assertEqual(req1['Content-length'], '1374')
157 self.assertEqual(req2['Content-length'], '1374')
187 self.assertEqual(headers['Content-length'], '608')
205 self.assertEqual(headers['Content-length'], '290')
218 cmd.strict = 1
229 cmd.strict = 1
[all …]
/third_party/openssl/util/
Dmknum.pl3 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
10 use strict;
11 use warnings;
24 my $warnings = 1;
34 'warnings!' => \$warnings,
42 my $ordinals = OpenSSL::Ordinals->new(from => $ordinals_file,
43 warnings => $warnings,
46 $ordinals->set_version($version);
49 %orig_names = map { $_->name() => 1 }
50 $ordinals->items(comparator => sub { $_[0] cmp $_[1] },
[all …]
/third_party/node/deps/openssl/openssl/util/
Dmknum.pl3 # Copyright 2018-2021 The OpenSSL Project Authors. All Rights Reserved.
10 use strict;
11 use warnings;
24 my $warnings = 1;
34 'warnings!' => \$warnings,
42 my $ordinals = OpenSSL::Ordinals->new(from => $ordinals_file,
43 warnings => $warnings,
46 $ordinals->set_version($version);
49 %orig_names = map { $_->name() => 1 }
50 $ordinals->items(comparator => sub { $_[0] cmp $_[1] },
[all …]
/third_party/curl/m4/
Dcurl-compilers.m421 # SPDX-License-Identifier: curl
30 dnl -------------------------------------------------
61 *** disable generation of debug info, optimization options or warnings.
67 *** mailing list: https://lists.haxx.selistinfo/curl-library/
75 dnl -------------------------------------------------
87 dnl IBM's almost-compatible clang version
95 fullclangver=`$CC -v 2>&1 | grep version`
101 …clangver | grep "based on LLVM " | "$SED" 's/.*(based on LLVM \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*)/\1…
102 if test -z "$clangver"; then
103 clangver=`echo $fullclangver | "$SED" 's/.*version \(@<:@0-9@:>@*\.@<:@0-9@:>@*\).*/\1/'`
[all …]
/third_party/python/Lib/importlib/resources/
D_legacy.py5 import warnings
18 warnings.warn(
20 "Refer to https://importlib-resources.readthedocs.io"
21 "/en/latest/using.html#migrating-from-legacy for migration advice.",
31 # type: (Any) -> str
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
45 """Return a file-like object opened for binary reading of the resource."""
50 def read_binary(package: Package, resource: Resource) -> bytes:
59 encoding: str = 'utf-8',
60 errors: str = 'strict',
[all …]

12345678910>>...40