Skip to content

Commit 986a605

Browse files
dmabuptaddaleax
authored andcommitted
test: skip a wasi test on IBMi PASE
The API clock_getres with attribute API CLOCK_THREAD_CPUTIME_ID is not supported on IBM i PASE. PR-URL: #32459 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent 833d78a commit 986a605

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

test/wasi/test-wasi.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,20 @@ if (process.argv[2] === 'wasi-child') {
5757
}
5858

5959
runWASI({ test: 'cant_dotdot' });
60-
runWASI({ test: 'clock_getres' });
60+
61+
// Tests that are currently unsupported on IBM i PASE.
62+
if (!common.isIBMi) {
63+
runWASI({ test: 'clock_getres' });
64+
}
6165
runWASI({ test: 'exitcode', exitCode: 120 });
6266
runWASI({ test: 'fd_prestat_get_refresh' });
6367
runWASI({ test: 'freopen', stdout: `hello from input2.txt${EOL}` });
6468
runWASI({ test: 'getentropy' });
65-
runWASI({ test: 'getrusage' });
69+
70+
// Tests that are currently unsupported on IBM i PASE.
71+
if (!common.isIBMi) {
72+
runWASI({ test: 'getrusage' });
73+
}
6674
runWASI({ test: 'gettimeofday' });
6775
runWASI({ test: 'link' });
6876
runWASI({ test: 'main_args' });

0 commit comments

Comments
 (0)