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

Web Platform Tests part 2 #90

Merged
merged 5 commits into from
Oct 28, 2024
Merged
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: 1 addition & 1 deletion .github/workflows/wpt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
set -x
cd webcrypto/tests
sh checkout.sh
go test -race ../... -tags=wpt
go test -timeout 120s -race ./... -tags=wpt
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test:

## test: Executes any tests.
wpt-test:
go test -race -timeout 60s ./... -tags=wpt
go test -race -timeout 120s ./... -tags=wpt

## lint: Runs the linters.
lint: linter-config check-linter-version
Expand Down
18 changes: 9 additions & 9 deletions webcrypto/tests/cmd_run_test.go → webcrypto/cmd_run_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tests
package webcrypto_test

import (
"os"
Expand Down Expand Up @@ -57,14 +57,14 @@ func TestExamplesInputOutput(t *testing.T) {
// and not the unexpected one
// it could be a file (ending with .js) or a directory
examples := []string{
"../../examples/digest.js",
"../../examples/getRandomValues.js",
"../../examples/randomUUID.js",
"../../examples/generateKey",
"../../examples/derive_bits",
"../../examples/encrypt_decrypt",
"../../examples/sign_verify",
"../../examples/import_export",
"../examples/digest.js",
"../examples/getRandomValues.js",
"../examples/randomUUID.js",
"../examples/generateKey",
"../examples/derive_bits",
"../examples/encrypt_decrypt",
"../examples/sign_verify",
"../examples/import_export",
}

for _, path := range examples {
Expand Down
311 changes: 0 additions & 311 deletions webcrypto/subtle_crypto_test.go

This file was deleted.

Loading
Loading