Skip to content

Conversation

@tobil4sk
Copy link
Member

See: #8380.

They are slow because they run a bunch of smaller haxe programs, and on eval that means re-parsing, re-typing, etc. for every execution. By using hxb, I was able to get the time for testIPC from 4 mins 48 secs down to 14 secs.

I've still not enabled it by default locally as it's over half of the total sys test runtime (8 secs off vs 22 secs on), but maybe that's acceptable now?

bin will be the native target binary, but here we always need the haxe
class name to compare against eval.
Each of these sys hxml files outputs multiple files using `--next`, so
we need to put extra args first with `--each`. Otherwise, `-D github` is
not added properly and testIPC which is ci only never runs.
nodejs does not implement sys.io.Process so we cannot use runUtility,
see HaxeFoundation#10436.
These were "enabled" in HaxeFoundation#10597 because they didn't cause any failures,
but that was because they never actually ran.

The disabled tests are tracked in HaxeFoundation#8379.
tobil4sk added a commit to tobil4sk/haxec that referenced this pull request Dec 23, 2025
This reverts commit 905cf81.

This commit fixed argument passing to sys tests, which caused a test to
run that wasn't running before which is currently broken on windows.

Reverting for now, this will be handled in HaxeFoundation#12473
Simn pushed a commit that referenced this pull request Dec 23, 2025
* [tests] Enable cpp thread tests on linux arm64

* [tests] Use default architecture for cpp tests

Windows shouldn't be built with x86_32 anymore, since most users will be
using x86_64.

In CI we always want the host architecture anyway. For local runs, users
can just pass `-D HXCPP_ARCH=...` as cli args when running RunCi.

* [tests] Add cli args to all cpp builds

* Revert "[tests] Add cli args to all cpp builds"

This reverts commit 905cf81.

This commit fixed argument passing to sys tests, which caused a test to
run that wasn't running before which is currently broken on windows.

Reverting for now, this will be handled in #12473
@tobil4sk
Copy link
Member Author

Python, hl, and jvm failures seem worse than when they were originally introduced in #8135, although, I'm not sure because they never actually ran.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant