
running 18 tests
test test_e2e_compiled_obj_valid ... ok
test test_e2e_compile_and_run ... FAILED
test test_e2e_process_module ... ok
test test_e2e_assert_module ... ok
test test_e2e_path_module ... ok
test test_e2e_url_module ... ok
test test_e2e_util_module ... ok
test test_e2e_querystring_module ... ok
test test_e2e_crypto_module ... ok
test test_e2e_fs_module ... ok
test test_e2e_console_module ... ok
test test_e2e_os_module ... ok
test test_e2e_buffer_module ... ok
test test_e2e_events_module ... ok
test test_e2e_aot_proxy_reflect ... ok
test test_e2e_aot_rest_spread ... ok
test test_e2e_aot_jsx ... ok
test test_e2e_aot_esm_export ... FAILED

failures:

---- test_e2e_compile_and_run stdout ----
========================================
ts-native Project Compiler
========================================
Project: e2e_test_project
Modules: 1
Entries: 1
Output:  E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_test_project\target/tsn-release-ThreadId(8)
========================================

[Phase 1/3] Compiling modules...
  [1/1] main (cached OK)
  -> 1 modules (0 compiled, 1 cached) (0ms)

[Phase 2/3] Generating standalone executables...
  [1/1] Building main.exe ...   [Runtime] Copied tsn_runtime.dll (49422103 bytes) -> E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_test_project\target/tsn-release-ThreadId(8)\tsn_runtime.dll
OK -> E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_test_project\target/tsn-release-ThreadId(8)\main.exe
  -> 1 executables generated in 108ms

--- Compile Report ---
Duration: 108ms
Memory:   24.4 MB
Modules:  1
Entries:  1
Functions: 0/0 (0.0%)
Code: 0 B | Data: 0 B | RData: 0 B | Total: 0 B
Symbols: 0 | Relocations: 0
--- Phases ---
  Module Compilation: 0ms 20.9 MB
  Executable Generation: 108ms 24.4 MB
  Report Generation: 0ms 24.4 MB
--- Modules ---
--- Executables ---
  main -> main.exe
---

thread 'test_e2e_compile_and_run' (16468) panicked at tests\e2e_execution_tests.rs:60:5:
应编译了至少一个函数
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- test_e2e_aot_esm_export stdout ----
========================================
ts-native Project Compiler
========================================
Project: e2e_aot_esm_export
Modules: 7
Entries: 1
Output:  E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_aot_esm_export\target/tsn-release-ThreadId(2)
========================================

[Phase 1/3] Compiling modules...
  [1/7] default_export (cached OK)
  [2/7] named_exports (cached OK)
  [3/7] const_values (cached OK)
  [4/7] aliases (cached OK)
  [5/7] star_exports (cached OK)
  [6/7] re_exporter (cached OK)
  [7/7] main (cached OK)
  -> 7 modules (0 compiled, 7 cached) (2ms)

[Phase 2/3] Generating standalone executables...
  [1/1] Building main.exe ...   [Runtime] Copied tsn_runtime.dll (49422103 bytes) -> E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_aot_esm_export\target/tsn-release-ThreadId(2)\tsn_runtime.dll
OK -> E:\Administrator\Documents\codebuddy-projects\ts-native\tests\e2e_aot_esm_export\target/tsn-release-ThreadId(2)\main.exe
  -> 1 executables generated in 116ms

--- Compile Report ---
Duration: 119ms
Memory:   23.8 MB
Modules:  7
Entries:  1
Functions: 0/0 (0.0%)
Code: 0 B | Data: 0 B | RData: 0 B | Total: 0 B
Symbols: 0 | Relocations: 0
--- Phases ---
  Module Compilation: 2ms 24.1 MB
  Executable Generation: 116ms 23.8 MB
  Report Generation: 0ms 23.8 MB
--- Modules ---
--- Executables ---
  main -> main.exe
---

thread 'test_e2e_aot_esm_export' (31588) panicked at tests\e2e_execution_tests.rs:402:5:
ESM Export 测试应成功, stdout: "[Standalone] Entry: main\n[Standalone] Code: 12832 bytes, Data: 0 bytes, RData: 1024 bytes\n[Standalone] Symbols: 106, Relocations: 267\n[Runtime] Loading: E:\\Administrator\\Documents\\codebuddy-projects\\ts-native\\tests\\e2e_aot_esm_export\\target\\tsn-release-ThreadId(2)\\tsn_runtime.dll\n[Reloc] 256/267 ok, 11 failed\n[Exec] Calling entry point (main @ offset 1936)...\nPASS: named exports\n2.0.0\nPASS: re-export\nPASS: alias exports\nFAIL: STATUS should be 'active', got function\n\n=== Result: 0 ===\n", stderr: "[WARN] Unresolved internal symbol: PI\n[WARN] Unresolved internal symbol: PI\n[WARN] Unresolved internal symbol: E\n[WARN] Unresolved internal symbol: E\n[WARN] Unresolved internal symbol: PI\n[WARN] Unresolved internal symbol: STATUS\n[WARN] Unresolved internal symbol: STATUS\n[WARN] Unresolved internal symbol: VERSION\n[WARN] Unresolved internal symbol: VERSION\n[WARN] Unresolved internal symbol: MAX_SIZE\n[WARN] Unresolved internal symbol: MIN_SIZE\n"


failures:
    test_e2e_aot_esm_export
    test_e2e_compile_and_run

test result: FAILED. 16 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.78s

