From 9e68f1295e3b0ad3a7af6ddb9c5887d12c18dc18 Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Sat, 24 Oct 2020 01:52:09 +0000 Subject: [PATCH] test(std/wasi): re-enable clock_time_get tests This brings in revised tests for clock_time_get from upstream and re-enables them. This revision of these tests allow for lower precision clocks (we only provide millisecond precision, and that is conformant but my previous tests for this in the upstream test suite were a bit more aggressive). --- std/wasi/snapshot_preview1_test.ts | 4 +--- std/wasi/testdata | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/std/wasi/snapshot_preview1_test.ts b/std/wasi/snapshot_preview1_test.ts index 99f9145c72b191..c73b6508c27628 100644 --- a/std/wasi/snapshot_preview1_test.ts +++ b/std/wasi/snapshot_preview1_test.ts @@ -40,9 +40,7 @@ const tests = [ "testdata/wasi_sched_yield.wasm", ]; -const ignore = [ - "testdata/wasi_clock_time_get.wasm", -]; +const ignore = []; // TODO(caspervonb) investigate why these tests are failing on windows and fix // them. diff --git a/std/wasi/testdata b/std/wasi/testdata index ffbe85d2315ae0..8f49014513d950 160000 --- a/std/wasi/testdata +++ b/std/wasi/testdata @@ -1 +1 @@ -Subproject commit ffbe85d2315ae0104534f38037903de38b6f2e63 +Subproject commit 8f49014513d9508f0495977be44ec60c6f4c8e06