Skip to content

Commit

Permalink
chore(tests) implement a '--- backtraces' block
Browse files Browse the repository at this point in the history
For quickly enabling backtraces while debugging tests.
  • Loading branch information
casimiro authored and thibaultcha committed Aug 18, 2023
1 parent 39ae73d commit 454e888
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/TestWasm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ add_block_preprocessor(sub {
" compiler " . $compiler . ";\n";
}

my $backtraces = $block->backtraces;
if (defined $backtraces) {
$wasm_config = $wasm_config .
" backtraces on;\n";
}

my $tls_skip_verify = $block->tls_skip_verify;
my $tls_skip_host_check = $block->tls_skip_host_check;
my $tls_trusted_certificate = $block->tls_trusted_certificate;
Expand Down

0 comments on commit 454e888

Please sign in to comment.