Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Debug abort controller test error on QEMU #687

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
msystem: MINGW64
update: true
path-type: inherit
release: false
install: >-
mingw-w64-x86_64-make
mingw-w64-x86_64-cmake
Expand Down Expand Up @@ -103,6 +104,7 @@ jobs:
qemu-user

make CURRENT_TARGET=aarch64-unknown-linux-musl test-ci

- name: Build Linux binaries
if: inputs.release && inputs.platform == 'linux'
run: |
Expand Down
5 changes: 3 additions & 2 deletions llrt_core/src/modules/js/@llrt/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type TestFailure = {
};

class TestServer extends EventEmitter {
private static UPDATE_FPS = 15;
private static UPDATE_FPS = 1;
private static UPDATE_INTERVAL_MS = 1000 / TestServer.UPDATE_FPS;
private static DEFAULT_TIMEOUT_MS =
parseInt((process.env as any).TEST_TIMEOUT) || 5000;
Expand Down Expand Up @@ -191,6 +191,7 @@ class TestServer extends EventEmitter {
}
);
proc.stdout.on("data", (data) => {
console.log(data.toString());
output = data;
});
proc.on("error", (error) => {
Expand Down Expand Up @@ -649,6 +650,6 @@ class TestServer extends EventEmitter {
}

const testServer = new TestServer((globalThis as any).__testEntries, {
workerCount: undefined,
workerCount: 1,
});
await testServer.start();
2 changes: 2 additions & 0 deletions llrt_core/src/modules/js/@llrt/test/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ class TestAgent {

started = performance.now();

console.log("Testing: ", test.desc);

await this.executeAsyncOrCallbackFn(test.fn, test.timeout);

const end = performance.now();
Expand Down
Loading