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

Exit code non-zero when no tests run #15212

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

Jarred-Sumner
Copy link
Collaborator

What does this PR do?

Exit code non-zero when no tests run

Fixes #15208

How did you verify your code works?

Lets see how many test failures we get

@robobun
Copy link

robobun commented Nov 18, 2024

@Jarred-Sumner, your commit a493943 has 28 failures in #6309:

  • test/js/web/fetch/fetch.stream.test.ts - 1 failing on 🍎 14 x64
  • test/js/node/test/parallel/fs-watch-recursive-linux-parallel-remove.test.js - 1 failing on :alpine: 3.20 x64
  • test/js/node/test/parallel/fs-watch-recursive-linux-parallel-remove.test.js - 1 failing on :alpine: 3.20 x64-baseline
  • test/cli/install/registry/bun-install-registry.test.ts - timeout on :alpine: 3.20 x64-baseline
  • test/integration/next-pages/test/dev-server.test.ts - 1 failing on :alpine: 3.20 x64
  • test/integration/next-pages/test/dev-server.test.ts - 1 failing on :alpine: 3.20 x64-baseline
  • test/v8/v8.test.ts - 22 failing on :alpine: 3.20 aarch64
  • test/v8/v8.test.ts - 22 failing on :alpine: 3.20 x64
  • test/v8/v8.test.ts - 22 failing on :alpine: 3.20 x64-baseline
  • test/js/bun/http/serve.test.ts - segmentation fault on :alpine: 3.20 aarch64
  • test/js/bun/http/serve.test.ts - 1 failing on 🍎 14 x64
  • test/js/bun/http/serve.test.ts - segmentation fault on :alpine: 3.20 x64
  • test/js/bun/http/serve.test.ts - segmentation fault on :alpine: 3.20 x64-baseline
  • test/integration/next-pages/test/next-build.test.ts - 1 failing on 🐧 20.04 x64
  • test/js/bun/ffi/cc.test.ts - 1 failing on :alpine: 3.20 aarch64
  • test/js/bun/ffi/cc.test.ts - 1 failing on :alpine: 3.20 x64
  • test/js/bun/ffi/cc.test.ts - 1 failing on :alpine: 3.20 x64-baseline
  • test/js/node/child_process/child_process.test.ts - 1 failing on :alpine: 3.20 aarch64
  • test/js/node/child_process/child_process.test.ts - 1 failing on :alpine: 3.20 x64-baseline
  • test/js/node/child_process/child_process.test.ts - 1 failing on :alpine: 3.20 x64
  • test/cli/install/bun-link.test.ts - 4 failing on :alpine: 3.20 aarch64
  • test/cli/install/bun-link.test.ts - 4 failing on :alpine: 3.20 x64
  • test/cli/install/bun-link.test.ts - 4 failing on :alpine: 3.20 x64-baseline
  • test/js/web/fetch/fetch.tls.test.ts - 1 failing on 🍎 14 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🍎 13 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🍎 14 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 20.04 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 12 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 22.04 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 20.04 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 12 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 22.04 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 22.04 x64-baseline
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 20.04 x64-baseline
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🐧 12 x64-baseline
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on :alpine: 3.20 aarch64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🍎 14 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on 🍎 13 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on :alpine: 3.20 x64
  • test/js/node/test/parallel/process-initgroups.test.js - code 1 on :alpine: 3.20 x64-baseline
  • test/js/web/fetch/fetch-preconnect.test.ts - 1 failing on 🍎 14 aarch64
  • test/js/node/fs/fs-oom.test.ts - code 1 on 🪟 2019 x64-baseline
  • test/js/node/fs/fs-oom.test.ts - code 1 on 🪟 2019 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🍎 14 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🍎 13 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🪟 2019 x64-baseline
  • test/js/bun/test/test-test.test.ts - 1 failing on 🪟 2019 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 20.04 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 12 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 22.04 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 20.04 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 12 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 22.04 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 22.04 x64-baseline
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 20.04 x64-baseline
  • test/js/bun/test/test-test.test.ts - 1 failing on 🐧 12 x64-baseline
  • test/js/bun/test/test-test.test.ts - 1 failing on :alpine: 3.20 aarch64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🍎 14 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on 🍎 13 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on :alpine: 3.20 x64
  • test/js/bun/test/test-test.test.ts - 1 failing on :alpine: 3.20 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🪟 2019 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🪟 2019 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🍎 13 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🍎 14 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 22.04 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 20.04 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 12 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 22.04 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 20.04 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 12 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on :alpine: 3.20 aarch64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 20.04 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 22.04 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🐧 12 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on :alpine: 3.20 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on :alpine: 3.20 x64-baseline
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🍎 14 x64
  • test/js/third_party/socket.io/socket.io-utility-methods.test.ts - code 1 on 🍎 13 x64
  • test/js/sql/sql.test.ts - code 1 on 🪟 2019 x64
  • test/js/sql/sql.test.ts - code 1 on 🪟 2019 x64-baseline
  • test/js/sql/sql.test.ts - code 1 on 🍎 13 aarch64
  • test/js/sql/sql.test.ts - code 1 on 🍎 14 aarch64
  • test/js/sql/sql.test.ts - code 1 on 🐧 22.04 x64
  • test/js/sql/sql.test.ts - code 1 on 🐧 20.04 x64
  • test/js/sql/sql.test.ts - code 1 on 🐧 12 x64
  • test/js/sql/sql.test.ts - code 1 on 🐧 22.04 aarch64
  • test/js/sql/sql.test.ts - code 1 on 🐧 20.04 aarch64
  • test/js/sql/sql.test.ts - code 1 on 🐧 12 aarch64
  • test/js/sql/sql.test.ts - code 1 on :alpine: 3.20 aarch64
  • test/js/sql/sql.test.ts - code 1 on 🐧 20.04 x64-baseline
  • test/js/sql/sql.test.ts - code 1 on 🐧 22.04 x64-baseline
  • test/js/sql/sql.test.ts - code 1 on 🐧 12 x64-baseline
  • test/js/sql/sql.test.ts - code 1 on :alpine: 3.20 x64
  • test/js/sql/sql.test.ts - code 1 on :alpine: 3.20 x64-baseline
  • test/js/sql/sql.test.ts - code 1 on 🍎 14 x64
  • test/js/sql/sql.test.ts - code 1 on 🍎 13 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🪟 2019 x64-baseline
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🪟 2019 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🍎 14 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🍎 13 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on :alpine: 3.20 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 22.04 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 22.04 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 20.04 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 12 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 12 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 20.04 aarch64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 22.04 x64-baseline
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 12 x64-baseline
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🐧 20.04 x64-baseline
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🍎 14 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on 🍎 13 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on :alpine: 3.20 x64
  • test/js/third_party/socket.io/socket.io-server-attachment.test.ts - code 1 on :alpine: 3.20 x64-baseline
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🍎 14 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🍎 13 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 22.04 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 20.04 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on :alpine: 3.20 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 12 aarch64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 12 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 20.04 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 22.04 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 20.04 x64-baseline
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 22.04 x64-baseline
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🐧 12 x64-baseline
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🍎 14 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on 🍎 13 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on :alpine: 3.20 x64
  • test/js/node/test/parallel/listen-fd-detached-inherit.test.js - code 1 on :alpine: 3.20 x64-baseline
  • test/cli/run/require-cache.test.ts - 1 failing on 🪟 2019 x64-baseline
  • test/js/node/harness.test.js - code 1 on 🪟 2019 x64-baseline
  • test/js/node/harness.test.js - code 1 on 🍎 14 aarch64
  • test/js/node/harness.test.js - code 1 on 🍎 13 aarch64
  • test/js/node/harness.test.js - code 1 on 🪟 2019 x64
  • test/js/node/harness.test.js - code 1 on 🐧 22.04 aarch64
  • test/js/node/harness.test.js - code 1 on :alpine: 3.20 aarch64
  • test/js/node/harness.test.js - code 1 on 🐧 20.04 aarch64
  • test/js/node/harness.test.js - code 1 on 🐧 12 aarch64
  • test/js/node/harness.test.js - code 1 on 🐧 12 x64
  • test/js/node/harness.test.js - code 1 on 🐧 20.04 x64
  • test/js/node/harness.test.js - code 1 on 🐧 22.04 x64
  • test/js/node/harness.test.js - code 1 on 🐧 22.04 x64-baseline
  • test/js/node/harness.test.js - code 1 on 🐧 20.04 x64-baseline
  • test/js/node/harness.test.js - code 1 on 🐧 12 x64-baseline
  • test/js/node/harness.test.js - code 1 on 🍎 14 x64
  • test/js/node/harness.test.js - code 1 on 🍎 13 x64
  • test/js/node/harness.test.js - code 1 on :alpine: 3.20 x64
  • test/js/node/harness.test.js - code 1 on :alpine: 3.20 x64-baseline
  • test/js/bun/symbols.test.ts - code 1 on 🍎 14 aarch64
  • test/js/bun/symbols.test.ts - code 1 on 🍎 13 aarch64
  • test/js/bun/symbols.test.ts - code 1 on 🪟 2019 x64
  • test/js/bun/symbols.test.ts - code 1 on 🪟 2019 x64-baseline
  • test/js/bun/symbols.test.ts - code 1 on 🍎 14 x64
  • test/js/bun/symbols.test.ts - code 1 on 🍎 13 x64
  • test/cli/test/coverage.test.ts - 3 failing on 🍎 14 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🍎 13 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🪟 2019 x64-baseline
  • test/cli/test/coverage.test.ts - 3 failing on 🪟 2019 x64
  • test/cli/test/coverage.test.ts - 3 failing on :alpine: 3.20 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 22.04 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 12 x64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 20.04 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 12 aarch64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 22.04 x64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 20.04 x64
  • test/cli/test/coverage.test.ts - 3 failing on 🍎 14 x64
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 12 x64-baseline
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 20.04 x64-baseline
  • test/cli/test/coverage.test.ts - 3 failing on 🐧 22.04 x64-baseline
  • test/cli/test/coverage.test.ts - 3 failing on 🍎 13 x64
  • test/cli/test/coverage.test.ts - 3 failing on :alpine: 3.20 x64
  • test/cli/test/coverage.test.ts - 3 failing on :alpine: 3.20 x64-baseline
  • 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.

    bun test exits with code 0 when the entrypoint fails to resolve (ModuleNotFound)
    2 participants