Skip to content

Commit

Permalink
test: skip test when native module is not available (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardlau authored Dec 13, 2024
1 parent d0d9bc3 commit 23ac083
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fixtures/native-modules/aix-ppc64.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log(`skipping ${process.env.IITM_TEST_FILE} as no native module is available for ${process.platform}-${process.arch}`)
process.exit(0)
2 changes: 2 additions & 0 deletions test/fixtures/native-modules/linux-ppc64.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log(`skipping ${process.env.IITM_TEST_FILE} as no native module is available for ${process.platform}-${process.arch}`)
process.exit(0)
2 changes: 2 additions & 0 deletions test/fixtures/native-modules/linux-s390x.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
console.log(`skipping ${process.env.IITM_TEST_FILE} as no native module is available for ${process.platform}-${process.arch}`)
process.exit(0)

0 comments on commit 23ac083

Please sign in to comment.