Commit Graph

137 Commits

Author SHA1 Message Date
Alexey Andreev
c7a9b52e71 wasm gc: copy auxiliary files when running tests 2024-10-18 12:52:02 +02:00
Alexey Andreev
e4a2550cc6 wasm gc: add support for imports from JS 2024-10-17 19:35:23 +02:00
Alexey Andreev
1fadc71536 wasm gc: improve gradle plugin settings 2024-10-16 18:41:53 +02:00
Alexey Andreev
d68018d2d3 wasm gc: support source maps 2024-10-14 20:24:34 +02:00
Alexey Andreev
cfd381f47b wasm gc: fix bugs in stack trace deobfuscator 2024-10-13 20:26:37 +02:00
Alexey Andreev
4f9208c4d4 wasm gc: more configuration options to set up stack trace deobfuscation 2024-10-13 19:05:44 +02:00
Alexey Andreev
40d2ab97ec wasm gc: add stack trace deobfuscator 2024-10-12 20:04:38 +02:00
Alexey Andreev
0dcc25d66b wasm gc: support exporting declarations as JS entities from module 2024-10-08 20:09:43 +02:00
Alexey Andreev
c2eb11e056 wasm gc: support writing debug info, support it in disassembler 2024-10-04 18:49:58 +02:00
Alexey Andreev
9aee15fa0f wasm gc: attach Java exception to Wasm exception 2024-09-14 13:02:31 +02:00
Alexey Andreev
d12637f959 wasm gc: fix issues related to class metadata 2024-09-11 15:45:37 +02:00
Alexey Andreev
1533794cf1 wasm gc: add strict mode, fix some bugs 2024-09-11 08:00:39 +02:00
Alexey Andreev
31d89ebec2 wasm gc: support emitting disassembly in HTML with link references, add setting to emit disassembly in JUnit tests 2024-08-29 18:41:02 +02:00
Alexey Andreev
f143fc2af8 wasm-gc: fix html generated for manually running JUnit test 2024-08-26 20:48:37 +02:00
Alexey Andreev
5d109236d9 wasm gc: fix running tests in JUnit, fix remaining errors so that *few* tests pass 2024-08-21 14:29:56 +02:00
Alexey Andreev
1aebe51256 wasm gc: implement backend-specific virtual table builder 2024-08-20 21:03:51 +02:00
Alexey Andreev
59259c314d wasm gc: support running tests 2024-08-18 19:57:25 +02:00
Alexey Andreev
1b412073b9 wasm: support exception handling via native exception handling spec 2024-05-09 20:38:17 +02:00
Alexey Andreev
19518eb191 jso: don't insert casts to JS classes in non-strict mode 2024-04-22 19:16:33 +02:00
Alexey Andreev
8db406c603 jso: implement exporting Java methods to JS
Fix #785
2024-02-15 21:00:10 +01:00
Alexey Andreev
6ac598b927 js: add limit for top-level declarations
Rationale: turns out that V8 utilizes stack even to represent module-level functions.
This can cause SOE when there's too many classes and methods in source JVM
2024-02-01 09:41:50 +01:00
Alexey Andreev
4049bc529e js: introduce setting to choose module type 2023-12-23 16:32:55 +01:00
Alexey Andreev
b3e889fa11 junit: fix compiling tests for platforms which don't participate in testing 2023-11-26 22:05:23 +01:00
Alexey Andreev
997a31b683 junit: don't start browser if corresponding test platforms disabled 2023-11-23 16:04:32 +01:00
Alexey Andreev
9c6f23d280 classlib: optimize console output in JS backend 2023-11-07 20:00:33 +01:00
Alexey Andreev
eca3dc61f5 junit: fix exception reporting 2023-11-07 18:01:33 +01:00
Alexey Andreev
5ec4450bf8 JS: render all declarations into one remembered fragment, then output this fragment to real output 2023-11-05 08:55:24 +01:00
Alexey Andreev
23ad999bbd JS: get rid of IOException in SourceWriter and related classes 2023-10-31 20:09:55 +01:00
Alexey Andreev
32ee8943c1 JS: rewrite more natives with templates, get rid of runtime aliases in minification mode 2023-10-31 19:29:32 +01:00
Alexey Andreev
c6f60ca00e junit: fix crash when test runner is not configured 2023-10-17 10:04:57 +02:00
Alexey Andreev
55d3adb7ae junit: fix generation of html page for single-test JS runner 2023-10-12 21:13:48 +02:00
Alexey Andreev
0c0fb1a02b Fix running C tests 2023-10-06 10:55:08 +02:00
Alexey Andreev
8fb6087bf0 Fix running tests for C backend 2023-10-02 08:30:24 +02:00
Alexey Andreev
db4418ae1d Refactor test runner
1. Deprecate WhileClassCompilation annotation, introduce EachTestCompiledSeparately instead
2. Add annotations to enabled/disable tests for particular backends
2023-10-01 21:37:04 +02:00
Alexey Andreev
ee0ebd4c2b Remove excessive file 2023-09-29 21:12:05 +02:00
Alexey Andreev
47973face1 Simplify test runner, remove parallel run, remove HtmlUnit runner, fix Wasm tests 2023-09-29 21:11:23 +02:00
Alexey Andreev
b7cf7b593c wasm: when building tests, resolve absolute paths to source files in DWARF 2023-09-26 23:02:16 +02:00
Alexey Andreev
d7cae4af55 Fix running tests in wasm 2023-08-22 17:02:33 +02:00
Alexey Andreev
334e2829b3 JS: supports module imports in JSBody 2023-08-03 15:42:15 +02:00
Alexey Andreev
a97e0ef45c JS: generate code in UMD wrapper (to be compatible with node.js, webpack, etc). 2023-08-01 20:11:32 +02:00
zufarfakhurtdinov
e801ff5b10
Fix running tests in macOS (#689)
Co-authored-by: Zufar Fakhurtdinov <zufar.fakhurtdinov@delightex.com>
2023-04-11 12:57:28 +02:00
Alexey Andreev
4756c9009a Fix running tests from Gradle plugin 2023-04-11 09:46:45 +02:00
Alexey Andreev
19c0492c33 Fix running tests in Windows 2023-03-24 15:12:34 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
Alexey Andreev
a543b91b84 Wasm: fix error when parsing command line args 2022-11-17 16:35:28 +01:00
Alexey Andreev
238873cbe7 Apply Java 11 syntax 2022-11-17 14:36:55 +01:00
Alexey Andreev
bb087b7630 Wasm: support running WASI tests in JUnit 2022-11-06 21:41:35 +01:00
Alexey Andreev
7726d47795 C: don't run compiled tests simultaneously 2021-03-24 17:31:16 +03:00
Alexey Andreev
bd53c1a5a2 wasm: trying to implement coroutines 2021-03-21 22:13:09 +03:00
Alexey Andreev
c4c1408160 wasm: fix running tests, add in-browser test runners 2021-03-20 19:52:45 +03:00