Skip to content
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
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
test: [asm-bench,asm-racer,asm-util,asm-unit,corset-bench,corset-racer,corset-test,unit-test]
field: [BLS12_377,KOALABEAR_16,GF_8209]
exclude:
- { field: KOALABEAR_16, test: asm-bench }
- { field: KOALABEAR_16, test: asm-racer }
- { field: KOALABEAR_16, test: corset-racer }
- { field: KOALABEAR_16, test: unit-test }
Expand All @@ -34,4 +33,6 @@ jobs:
go-version: '>=1.24'
- run: make ${{ matrix.test }}
env:
GOMAXPROCS: 8
GOMEMLIMIT: 16GiB
GOCORSET_FIELD: ${{ matrix.field }}
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ asm-racer:

asm-bench:
@echo ">>> Running Assembly Benchmark Tests..."
go test --timeout 0 -run "Test_AsmBench" ./...
go test -p 1 --timeout 0 -run "Test_AsmBench" ./...

asm-util:
@echo ">>> Running Assembly Util Tests..."
go test --timeout 0 -run "Test_AsmUtil" ./...
go test -p 1 --timeout 0 -run "Test_AsmUtil" ./...

asm-unit:
@echo ">>> Running Assembly Unit Tests..."
Expand All @@ -49,7 +49,7 @@ corset-racer:

corset-bench:
@echo ">>> Running Corset Benchmark Tests..."
go test --timeout 0 -run "Test_Bench" ./...
go test -p 1 --timeout 0 -run "Test_Bench" ./...

unit-test:
@echo ">>> Running Unit Tests..."
Expand Down
7 changes: 0 additions & 7 deletions pkg/test/util/check_valid.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,6 @@ const CORSET_MAX_PADDING uint = 7
// in separate runners.
var FIELD_REGEX *regexp.Regexp

// Check that all traces which we expect to be accepted are accepted by a given
// set of constraints, and all traces that we expect to be rejected are
// rejected. A default field is used for these tests (BLS12_377)
func Check(t *testing.T, stdlib bool, test string) {
CheckWithFields(t, stdlib, test, CORSET_MAX_PADDING, field.BLS12_377)
}

// CheckCorset checks that all traces which we expect to be accepted are
// accepted by a given set of constraints, and all traces that we expect to be
// rejected are rejected. All fields provided are tested against, and also all
Expand Down
Binary file modified testdata/asm/bench/euc.accepts.bz2
Binary file not shown.
Binary file modified testdata/asm/bench/exp.accepts.bz2
Binary file not shown.
Binary file modified testdata/asm/bench/mul.accepts.bz2
Binary file not shown.
Binary file modified testdata/asm/bench/wcp.accepts.bz2
Binary file not shown.