Skip to content

Commit d36145e

Browse files
authored
[unit-test] Show stacktraces on unit test error (#17364)
1 parent 0cfc296 commit d36145e

File tree

16 files changed

+2
-90
lines changed

16 files changed

+2
-90
lines changed

crates/aptos/src/move_tool/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,6 @@ impl CliCommand<&'static str> for TestPackage {
596596
config.clone(),
597597
UnitTestingConfig {
598598
filter: self.filter.clone(),
599-
report_stacktrace_on_abort: true,
600599
report_storage_on_error: self.dump_state,
601600
ignore_compile_warnings: self.ignore_compile_warnings,
602601
named_address_values: self

third_party/move/tools/move-cli/Cargo.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ httpmock = { workspace = true }
4242
name = "move"
4343
path = "src/main.rs"
4444

45-
[[test]]
46-
name = "move_unit_tests_move_vm_and_stackless_vm"
47-
harness = false
48-
4945
[[test]]
5046
name = "build_testsuite"
5147
harness = false

third_party/move/tools/move-cli/src/base/test.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ pub struct Test {
7575
#[clap(name = "ignore_compile_warnings", long = "ignore_compile_warnings")]
7676
pub ignore_compile_warnings: bool,
7777

78-
/// Use the stackless bytecode interpreter to run the tests and cross check its results with
79-
/// the execution result from Move VM.
80-
#[clap(long = "stackless")]
81-
pub check_stackless_vm: bool,
8278
/// Verbose mode
8379
#[clap(long = "verbose")]
8480
pub verbose_mode: bool,
@@ -105,7 +101,6 @@ impl Test {
105101
report_statistics,
106102
report_storage_on_error,
107103
ignore_compile_warnings,
108-
check_stackless_vm,
109104
verbose_mode,
110105
compute_coverage,
111106
} = self;
@@ -115,7 +110,6 @@ impl Test {
115110
num_threads,
116111
report_statistics,
117112
report_storage_on_error,
118-
check_stackless_vm,
119113
verbose: verbose_mode,
120114
ignore_compile_warnings,
121115
..UnitTestingConfig::default()

third_party/move/tools/move-cli/tests/move_unit_tests/assign_dev_addr_for_dep/args.stackless.exp

Lines changed: 0 additions & 7 deletions
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/assign_dev_addr_for_dep/args.stackless.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/assign_dev_addr_for_dep/args.stackless.v2_exp

Lines changed: 0 additions & 7 deletions
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/standalone_module_with_dev_addr_assignment/args.stackless.exp

Lines changed: 0 additions & 7 deletions
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/standalone_module_with_dev_addr_assignment/args.stackless.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/standalone_module_with_dev_addr_assignment/args.stackless.v2_exp

Lines changed: 0 additions & 7 deletions
This file was deleted.

third_party/move/tools/move-cli/tests/move_unit_tests/standalone_module_with_regular_addr_assignment/args.stackless.exp

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)