Commit Graph

436 Commits

Author SHA1 Message Date
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
f14fc18afb Fix wrong maxTopLevelNames in InProcessBuildStrategy 2023-09-29 14:06:18 +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
de25cee3b8 When out-of-process build crashes with OOME, write heap dump 2023-09-25 20:25:49 +02:00
Alexey Andreev
ba7dcd13b5 Update gradle scripts for latest gradle version
1. Use lazy property assignment
2. Remove usages of deprecated buildDir property
2023-09-21 09:52:29 +02:00
Alexey Andreev
eebc316029 gradle: fix generation of artifact configuration file 2023-08-23 20:17:37 +02:00
Alexey Andreev
d7cae4af55 Fix running tests in wasm 2023-08-22 17:02:33 +02:00
Alexey Andreev
df40dedba3 gradle: set default JS optimization to BALANCED 2023-08-19 17:49:17 +02:00
Alexey Andreev
9d3ac1a603 Show java.logging module in JCL comparison 2023-08-18 18:30:12 +02:00
Alexey Andreev
f33a7578d4 chrome plugin: remove unused permission, minor reformatting 2023-08-14 19:28:36 +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
Alexey Andreev
e1827880c9 Gradle: in no optimization mode, generate JS, which is friendly to Chrome debugger 2023-07-31 15:13:02 +02:00
Alexey Andreev
bf2cfa83f0 Allow to debug external process running from Gradle task 2023-07-31 13:15:36 +02:00
Alexey Andreev
9fd7b9c4e2 js: set maxTopLevelNames to huge value properly 2023-07-05 20:13:19 +02:00
Alexey Andreev
071a5d90fb Trying to fix problem with locked files on Windows 2023-06-20 11:11:58 +02:00
Alexey Andreev
09cdc63267 gradle: allow to define TeaVM properties from gradle command line 2023-04-12 16:48:48 +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
3e1edeb90c Add publishing of C-incremental artifact 2023-04-04 15:39:37 +02:00
Alexey Andreev
7b227c712f Add publishing of CLI artifact 2023-04-04 14:44:23 +02:00
Alexey Andreev
ffcded86bb IDEA: trying to fix plugin configuration 2023-04-02 20:07:06 +02:00
Alexey Andreev
9676b2a238 IDEA: fix running dev server. Fix #679 2023-04-02 19:47:51 +02:00
Alexey Andreev
528a39247e gradle: replace all Closure<Void> occurrences with Closure<?> to avoid Groovy warning in IDE 2023-03-24 15:31:24 +01:00
Alexey Andreev
19c0492c33 Fix running tests in Windows 2023-03-24 15:12:34 +01:00
Alexey Andreev
b4b1bc0b11 Maven: fix archetype pom.xml 2023-03-16 14:40:08 +01:00
Alexey Andreev
43a55769d8 Add publication to Gradle plugin portal 2023-03-06 17:06:31 +01:00
Alexey Andreev
d575440bb1 Bump Gradle version 2023-03-06 16:26:50 +01:00
Alexey Andreev
4d36283946 Configure automatic building of report about support of Java class library 2023-03-06 15:58:24 +01:00
Alexey Andreev
671b1da25b Fix build configuration for releasing TeaVM. Add release script. 2023-03-06 15:13:10 +01:00
Alexey Andreev
0e4b0f6b11 Maven: set packaging of archetype artifact to 'maven-archetype' 2023-03-06 11:58:50 +01:00
Alexey Andreev
ddab106c5a Gradle: don't copy teavmdbg file to WEB-INF directory
(return this when deobfuscation functionality is implemented)
2023-03-06 11:42:21 +01:00
Alexey Andreev
725aac089b gradle: make tests DSL groovy-friendly 2023-02-18 18:37:07 +01:00
Alexey Andreev
27713b78f8 gradle: make DSL groovy-friendly 2023-02-18 09:10:08 +01:00
Alexey Andreev
dd0b9f70df Update deployment script 2023-01-25 16:40:58 +01:00
Alexey Andreev
e3da484f79 Gradle: support configuring tests, fix test deobfuscation 2023-01-25 10:55:49 +01:00
Alexey Andreev
8014c038c0 Migrate to gradle 2023-01-23 17:16:07 +01:00
Alexey Andreev
2a0f6f206e New IDEA module kind based on Gradle 2022-12-20 20:48:16 +01:00
Alexey Andreev
8963b00ed4 IDEA: fix build 2022-12-20 18:01:46 +01:00
Alexey Andreev
9a9e7561b7 Wasm: support displaying objects in debugger 2022-12-20 10:01:47 +01:00
Alexey Andreev
fb39de72cc Prevent Chrome debugger extension from disconnecting after timeout 2022-12-15 17:26:22 +01:00
Alexey Andreev
6c91192794 Wasm: fix issues in debugger 2022-12-14 16:50:18 +01:00
Alexey Andreev
6808d9e517 Wasm: support local variables in debugger 2022-12-13 21:18:41 +01:00
Alexey Andreev
313e4ed87f Wasm: fix issues with debugger 2022-12-13 18:51:19 +01:00
Alexey Andreev
87d63168d2 Wasm: working on control flow analyzer for debugger 2022-12-05 20:03:57 +01:00
Alexey Andreev
1d2633ed76 Chrome debugger: seng ping package over websocket to preserve its open state, fix crash in debugger 2022-11-30 17:32:55 +01:00
Alexey Andreev
a2715f2c79 Wasm: working on Chrome RDP debugger 2022-11-29 21:30:41 +01:00
Alexey Andreev
9d3927e196 Wasm: working on Chrome RDP debugger 2022-11-29 18:14:13 +01:00
Alexey Andreev
0604c6a613 Wasm: fix default file name used by wasi target 2022-11-19 13:14:24 +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
238930bfc3 IDEA: bump maven-shade-plugin version 2022-11-17 13:10:57 +01:00
Alexey Andreev
a49f47dac7 Fix WASI support in CLI runner 2022-11-08 19:46:40 +01:00
Alexey Andreev
bb087b7630 Wasm: support running WASI tests in JUnit 2022-11-06 21:41:35 +01:00
Alexey Andreev
1ca2c75e1c Wasm: initial WASI support 2022-11-06 11:53:52 +01:00
Ivan Hetman
2c1bf6e270
Enable build for Java 17 version (#631) 2022-10-22 09:23:16 +03:00
Ulugbek
f57af7631b fix: don't terminate if the target directory already exists 2022-08-12 17:48:58 +03:00
Ulugbek
51603695f4 TeaVMTool: handle target directory creation error 2022-08-06 14:40:09 +03:00
Ulugbek
b3727191b4 TeaVMTool: resolveTransformers() doesn't need to take as an argument variable that it can access itself 2022-08-06 14:40:09 +03:00
Ulugbek
3ff1651184 TeaVMTool: use a single try-with-resources 2022-08-06 14:40:09 +03:00
Ulugbek
0068198abd TeaVMTool: re-use already created file 2022-08-06 14:40:09 +03:00
Alexey Andreev
ddddfcf217 Add option to disable assertions 2022-07-15 19:51:47 +03:00
Alexey Andreev
0d73478164 Maven: fix connection to compiler daemon in out-of-process mode 2022-06-24 12:09:30 +03:00
Alexey Andreev
b03518c493 Remove unnecessary hppc artifact versions from pom.xml 2022-06-01 17:25:33 +03:00
Alexey Andreev
8d02dc0f4a Code server: fix preflight request issues 2022-02-10 19:35:14 +03:00
Alexey Andreev
1fa48560c6 C: add option to generate shorter output file names to workaround msvc bug 2021-12-10 18:51:12 +03:00
Alexey Andreev
7025ea8e19 IDEA plugin: fix one more id issue 2021-10-14 16:00:08 +03:00
Alexey Andreev
04cbd07fb5 Fix build configuration for parallel builds 2021-10-14 11:06:36 +03:00
Alexey Andreev
1ef2d5d1c2 IDEA plugin: fix spamming exception 2021-10-14 10:48:23 +03:00
Alexey Andreev
7726d47795 C: don't run compiled tests simultaneously 2021-03-24 17:31:16 +03:00
Alexey Andreev
60e5c0bbce Use new commons-cli API, remove usages of deprecated one 2021-03-22 14:17:50 +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
Alexey Andreev
0cff9e104c Fix checkstyle warnings after migration to the new version 2021-03-18 11:51:20 +03:00
Alexey Andreev
43437fd9b2 Update checkstyle settings in IDEA 2021-03-18 11:36:23 +03:00
Alexey Andreev
81bfe3f6e2 Improve pom.xml configuration 2021-03-18 11:16:41 +03:00
Alexey Andreev
0b36010a19 C: fix running JUnit tests 2021-03-18 01:03:19 +03:00
Alexey Andreev
b5ad203631 JUnit: don't kill test runner after timeout 2021-03-18 00:12:42 +03:00
Alexey Andreev
a8eebd7e1a JUnit: support ignoring all tests in a class 2021-03-18 00:12:42 +03:00
Alexey Andreev
6c75ce7f68 Fix bug in TestNG annotation support 2021-03-16 23:10:18 +03:00
Alexey Andreev
71f87d79a5 JUnit: add support for TestNG annotations 2021-03-16 21:47:05 +03:00
Alexey Andreev
e5c3d144e8 Bump versions of dependencies 2021-03-12 20:12:30 +03:00
Alexey Andreev
2765a6344f Shade teavm-junit dependencies to avoid conflicts with project's jetty and jackson versions 2021-03-10 16:37:55 +03:00
Alexey Andreev
fb81153ad2 JS: allow running tests in multiple browser tabs 2021-03-09 10:59:56 +03:00
Alexey Andreev
1eab7e41b1 Fix tests. Add headless firefox test runner 2021-03-08 12:00:13 +03:00
Alexey Andreev
61db54e848 Add JS test runner that runs tests right in the browser 2021-03-07 15:56:48 +03:00
Alexey Andreev
d1606ea2a5 Display more readable stack trace in HTML file that runs single test 2021-02-27 22:07:34 +03:00
Alexey Andreev
ae1ec8ffe5 Make IDEA plugin work with recent IDEA versions, remove some deprecated API usages 2021-01-28 17:57:35 +03:00
Alexey Andreev
306c78459c JS: use symbol instead of string property to represent Java exception wrapper 2020-09-09 19:28:32 +03:00
Alexey Andreev
9f823ee450 Minor improvements to time zone support 2020-04-30 15:49:37 +03:00
Alexey Andreev
ea1134d66b Trying to reduce number of classes for which name is provided in their metadata 2020-03-02 16:36:09 +03:00
Alexey Andreev
46e786d957 JS: commit forgotten html test template file 2020-03-02 16:18:08 +03:00
Alexey Andreev
cb26a10251 JS: when running tests, create proper HTML files to allow debugging these tests 2020-03-02 15:58:28 +03:00
Alexey Andreev
aefdee2507 Fix checkstyle errors 2020-02-27 19:02:47 +03:00
Alexey Andreev
ea36a1fca8 Fix checkstyle errors 2020-02-27 18:57:45 +03:00
Alexey Andreev
95426e2159 Add per-class compilation when running tests (requires @WholeClassCompilation annotation) 2020-02-27 18:43:08 +03:00
Alexey Andreev
6790ad0818 Code server: fix proxying gzipped resources 2020-02-26 14:27:58 +03:00
Alexey Andreev
0e7c1e5ef9 Wasm: don't generate class metadata if it's not used. Don't generate names and call site metadata in minified mode 2020-02-21 17:29:31 +03:00
Alexey Andreev
7d95c0fb04 Wasm: fix GC 2020-02-21 16:22:25 +03:00
Alexey Andreev
fecdd6613a Use tab character to indent stack traces 2020-02-14 10:39:50 +03:00