From d37e0e0d6983989a63d0948be59482d06c71462d Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Sun, 15 Mar 2026 14:48:22 +0000 Subject: [PATCH] [tests] Enable eventloop threads tests for cppia --- tests/misc/cross/eventLoop/build-cpp.hxml | 1 - tests/runci/targets/Cpp.hx | 11 ++++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/misc/cross/eventLoop/build-cpp.hxml b/tests/misc/cross/eventLoop/build-cpp.hxml index 744567b2e37..5ed715f3945 100644 --- a/tests/misc/cross/eventLoop/build-cpp.hxml +++ b/tests/misc/cross/eventLoop/build-cpp.hxml @@ -1,3 +1,2 @@ --main Main --dce full --cpp cpp diff --git a/tests/runci/targets/Cpp.hx b/tests/runci/targets/Cpp.hx index 7aa2da7cd69..891f3a7093e 100644 --- a/tests/runci/targets/Cpp.hx +++ b/tests/runci/targets/Cpp.hx @@ -88,7 +88,7 @@ class Cpp { runCpp("export/cpp/Main"); changeDirectory(getMiscSubDir("cross", "eventLoop")); - runCommand("haxe", ["build-cpp.hxml"]); + runCommand("haxe", ["build-cpp.hxml", "--cpp", "cpp"]); // TODO: check output like misc tests do runCpp("cpp/Main"); @@ -112,6 +112,15 @@ class Cpp { changeDirectory(sysDir); runCommand("haxe", ["compile-cppia.hxml"].concat(args)); runCppia("bin/cppia/Main.cppia", runSysTest); + + changeDirectory(threadsDir); + runCommand("haxe", ["build.hxml", "--cppia", "export/cppia/threads.cppia"]); + runCppia("export/cppia/threads.cppia"); + + changeDirectory(getMiscSubDir("cross", "eventLoop")); + runCommand("haxe", ["build-cpp.hxml", "--cppia", "bin/Main.cppia"]); + // TODO: check output like misc tests do + runCppia("bin/Main.cppia"); } } }